[INFO] cloning repository https://github.com/bkataru-workshop/logwatcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bkataru-workshop/logwatcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkataru-workshop%2Flogwatcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkataru-workshop%2Flogwatcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a06bc16c2754bafb6178a452544c92250aaf874 [INFO] testing bkataru-workshop/logwatcher against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkataru-workshop%2Flogwatcher" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bkataru-workshop/logwatcher on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bkataru-workshop/logwatcher [INFO] finished tweaking git repo https://github.com/bkataru-workshop/logwatcher [INFO] tweaked toml for git repo https://github.com/bkataru-workshop/logwatcher written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bkataru-workshop/logwatcher 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2d930d061ff6761f702b8f9675331587d5867cfc17a8163f5b7ff6367c07ca [INFO] running `Command { std: "docker" "start" "-a" "af2d930d061ff6761f702b8f9675331587d5867cfc17a8163f5b7ff6367c07ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2d930d061ff6761f702b8f9675331587d5867cfc17a8163f5b7ff6367c07ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2d930d061ff6761f702b8f9675331587d5867cfc17a8163f5b7ff6367c07ca", kill_on_drop: false }` [INFO] [stdout] af2d930d061ff6761f702b8f9675331587d5867cfc17a8163f5b7ff6367c07ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7268bd66c0b5c666b8279ddfc4ede105d05becf65af56b579afd26855522a3b4 [INFO] running `Command { std: "docker" "start" "-a" "7268bd66c0b5c666b8279ddfc4ede105d05becf65af56b579afd26855522a3b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling epaint_default_fonts v0.31.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling emath v0.31.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling ecolor v0.31.0 [INFO] [stderr] Compiling epaint v0.31.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling webbrowser v1.0.3 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling egui v0.31.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.6 [INFO] [stderr] Compiling wayland-cursor v0.31.8 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling egui_glow v0.31.0 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.31.0 [INFO] [stderr] Compiling eframe v0.31.0 [INFO] [stderr] Compiling logwatcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt [INFO] [stdout] --> src/main.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | egui::ComboBox::from_id_source(format!("mode_{}", pattern)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for (path, log) in self.logs.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:247:45 [INFO] [stdout] | [INFO] [stdout] 247 | ui.text_edit_singleline(&mut NEW_PATTERN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 247 | ui.text_edit_singleline(&raw mut NEW_PATTERN); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:251:56 [INFO] [stdout] | [INFO] [stdout] 251 | .selected_text(format!("{:?}", NEW_MODE)) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:253:49 [INFO] [stdout] | [INFO] [stdout] 253 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 253 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:255:49 [INFO] [stdout] | [INFO] [stdout] 255 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 255 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:259:48 [INFO] [stdout] | [INFO] [stdout] 259 | ui.color_edit_button_srgba(&mut NEW_COLOR); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | ui.color_edit_button_srgba(&raw mut NEW_COLOR); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | if ui.button("Add Rule").clicked() && !NEW_PATTERN.is_empty() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:262:46 [INFO] [stdout] | [INFO] [stdout] 262 | colored_words.insert(NEW_PATTERN.clone(), ColoredWord { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:263:38 [INFO] [stdout] | [INFO] [stdout] 263 | ... pattern: NEW_PATTERN.clone(), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | NEW_PATTERN.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "7268bd66c0b5c666b8279ddfc4ede105d05becf65af56b579afd26855522a3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7268bd66c0b5c666b8279ddfc4ede105d05becf65af56b579afd26855522a3b4", kill_on_drop: false }` [INFO] [stdout] 7268bd66c0b5c666b8279ddfc4ede105d05becf65af56b579afd26855522a3b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef51f2475afe37653c453913c1a9f2c9a985e03cdd7614551b852de5f16d020e [INFO] running `Command { std: "docker" "start" "-a" "ef51f2475afe37653c453913c1a9f2c9a985e03cdd7614551b852de5f16d020e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stdout] warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt [INFO] [stdout] --> src/main.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | egui::ComboBox::from_id_source(format!("mode_{}", pattern)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for (path, log) in self.logs.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:247:45 [INFO] [stdout] | [INFO] [stdout] 247 | ui.text_edit_singleline(&mut NEW_PATTERN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 247 | ui.text_edit_singleline(&raw mut NEW_PATTERN); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:251:56 [INFO] [stdout] | [INFO] [stdout] 251 | .selected_text(format!("{:?}", NEW_MODE)) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:253:49 [INFO] [stdout] | [INFO] [stdout] 253 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 253 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:255:49 [INFO] [stdout] | [INFO] [stdout] 255 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 255 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:259:48 [INFO] [stdout] | [INFO] [stdout] 259 | ui.color_edit_button_srgba(&mut NEW_COLOR); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | ui.color_edit_button_srgba(&raw mut NEW_COLOR); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | if ui.button("Add Rule").clicked() && !NEW_PATTERN.is_empty() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:262:46 [INFO] [stdout] | [INFO] [stdout] 262 | colored_words.insert(NEW_PATTERN.clone(), ColoredWord { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:263:38 [INFO] [stdout] | [INFO] [stdout] 263 | ... pattern: NEW_PATTERN.clone(), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | NEW_PATTERN.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling logwatcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt [INFO] [stdout] --> src/main.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | egui::ComboBox::from_id_source(format!("mode_{}", pattern)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for (path, log) in self.logs.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:247:45 [INFO] [stdout] | [INFO] [stdout] 247 | ui.text_edit_singleline(&mut NEW_PATTERN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 247 | ui.text_edit_singleline(&raw mut NEW_PATTERN); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:251:56 [INFO] [stdout] | [INFO] [stdout] 251 | .selected_text(format!("{:?}", NEW_MODE)) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:253:49 [INFO] [stdout] | [INFO] [stdout] 253 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 253 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:255:49 [INFO] [stdout] | [INFO] [stdout] 255 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 255 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:259:48 [INFO] [stdout] | [INFO] [stdout] 259 | ui.color_edit_button_srgba(&mut NEW_COLOR); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | ui.color_edit_button_srgba(&raw mut NEW_COLOR); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | if ui.button("Add Rule").clicked() && !NEW_PATTERN.is_empty() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:262:46 [INFO] [stdout] | [INFO] [stdout] 262 | colored_words.insert(NEW_PATTERN.clone(), ColoredWord { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:263:38 [INFO] [stdout] | [INFO] [stdout] 263 | ... pattern: NEW_PATTERN.clone(), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | NEW_PATTERN.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "ef51f2475afe37653c453913c1a9f2c9a985e03cdd7614551b852de5f16d020e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef51f2475afe37653c453913c1a9f2c9a985e03cdd7614551b852de5f16d020e", kill_on_drop: false }` [INFO] [stdout] ef51f2475afe37653c453913c1a9f2c9a985e03cdd7614551b852de5f16d020e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a09db335988af52e0d69ac096e5f831e5e14a2b51810f1a1c95a7dfe647e7e42 [INFO] running `Command { std: "docker" "start" "-a" "a09db335988af52e0d69ac096e5f831e5e14a2b51810f1a1c95a7dfe647e7e42", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt [INFO] [stderr] --> src/main.rs:219:37 [INFO] [stderr] | [INFO] [stderr] 219 | egui::ComboBox::from_id_source(format!("mode_{}", pattern)) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/main.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | for (path, log) in self.logs.iter_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:247:45 [INFO] [stderr] | [INFO] [stderr] 247 | ui.text_edit_singleline(&mut NEW_PATTERN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 247 | ui.text_edit_singleline(&raw mut NEW_PATTERN); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:251:56 [INFO] [stderr] | [INFO] [stderr] 251 | .selected_text(format!("{:?}", NEW_MODE)) [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:253:49 [INFO] [stderr] | [INFO] [stderr] 253 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 253 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseSensitive, "Case Sensitive"); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:254:49 [INFO] [stderr] | [INFO] [stderr] 254 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 254 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::CaseInsensitive, "Case Insensitive"); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:255:49 [INFO] [stderr] | [INFO] [stderr] 255 | ... ui.selectable_value(&mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 255 | ui.selectable_value(&raw mut NEW_MODE, MatchMode::WholeWord, "Whole Word"); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:259:48 [INFO] [stderr] | [INFO] [stderr] 259 | ui.color_edit_button_srgba(&mut NEW_COLOR); [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 259 | ui.color_edit_button_srgba(&raw mut NEW_COLOR); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:261:60 [INFO] [stderr] | [INFO] [stderr] 261 | if ui.button("Add Rule").clicked() && !NEW_PATTERN.is_empty() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:262:46 [INFO] [stderr] | [INFO] [stderr] 262 | colored_words.insert(NEW_PATTERN.clone(), ColoredWord { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:263:38 [INFO] [stderr] | [INFO] [stderr] 263 | ... pattern: NEW_PATTERN.clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:267:25 [INFO] [stderr] | [INFO] [stderr] 267 | NEW_PATTERN.clear(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `logwatcher` (bin "logwatcher") generated 12 warnings [INFO] [stderr] warning: `logwatcher` (bin "logwatcher" test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/logwatcher-96781d600c6485dd) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_color_highlighting ... ok [INFO] [stdout] test tests::test_log_file_new ... ok [INFO] [stdout] test tests::test_log_file_update ... ok [INFO] [stdout] test tests::test_max_lines_limit ... ok [INFO] [stdout] test tests::test_config_colored_words ... ok [INFO] [stdout] test tests::test_config_default ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/logwatcher-2cc239cb7aae3663) [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] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-1e54dd347d077dfd) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_color_word_configuration ... ok [INFO] [stdout] test test_folder_monitoring ... ok [INFO] [stdout] test test_file_updates ... ok [INFO] [stdout] test test_max_lines_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests logwatcher [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" "a09db335988af52e0d69ac096e5f831e5e14a2b51810f1a1c95a7dfe647e7e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09db335988af52e0d69ac096e5f831e5e14a2b51810f1a1c95a7dfe647e7e42", kill_on_drop: false }` [INFO] [stdout] a09db335988af52e0d69ac096e5f831e5e14a2b51810f1a1c95a7dfe647e7e42