[INFO] cloning repository https://github.com/david-cattermole/timetracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/david-cattermole/timetracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-cattermole%2Ftimetracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-cattermole%2Ftimetracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a267e69b4109548e273536d62d769c2324fc4a8 [INFO] checking david-cattermole/timetracker/0a267e69b4109548e273536d62d769c2324fc4a8 against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-cattermole%2Ftimetracker" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/david-cattermole/timetracker on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/david-cattermole/timetracker [INFO] finished tweaking git repo https://github.com/david-cattermole/timetracker [INFO] tweaked toml for git repo https://github.com/david-cattermole/timetracker written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/david-cattermole/timetracker 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae8860ed4ea68d5049ef28c1c064b4eb584bcdf00648ce6d1e38ef28c4aca9d [INFO] running `Command { std: "docker" "start" "-a" "fae8860ed4ea68d5049ef28c1c064b4eb584bcdf00648ce6d1e38ef28c4aca9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae8860ed4ea68d5049ef28c1c064b4eb584bcdf00648ce6d1e38ef28c4aca9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae8860ed4ea68d5049ef28c1c064b4eb584bcdf00648ce6d1e38ef28c4aca9d", kill_on_drop: false }` [INFO] [stdout] fae8860ed4ea68d5049ef28c1c064b4eb584bcdf00648ce6d1e38ef28c4aca9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a854df29b1b7506553b31c7d0595dd4efd287ce0390562c809bdc4721036541 [INFO] running `Command { std: "docker" "start" "-a" "9a854df29b1b7506553b31c7d0595dd4efd287ce0390562c809bdc4721036541", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling gtk v0.18.1 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling timetracker-recorder v0.4.3 (/opt/rustwide/workdir/recorder-bin) [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Checking toml v0.8.2 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling gtk3-macros v0.18.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking rusqlite v0.29.0 [INFO] [stderr] Checking timetracker-core v0.4.3 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/entries.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntryStatus` [INFO] [stdout] 13 | pub enum EntryStatus { [INFO] [stdout] | ----------- `EntryStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/entries.rs:12:68 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EntryStatus` [INFO] [stdout] 13 | pub enum EntryStatus { [INFO] [stdout] | ----------- `EntryStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/entries.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntryStatus` [INFO] [stdout] 13 | pub enum EntryStatus { [INFO] [stdout] | ----------- `EntryStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/entries.rs:12:68 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EntryStatus` [INFO] [stdout] 13 | pub enum EntryStatus { [INFO] [stdout] | ----------- `EntryStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking timetracker-print-lib v0.4.3 (/opt/rustwide/workdir/print-lib) [INFO] [stderr] Checking timetracker-configure v0.4.3 (/opt/rustwide/workdir/configure-bin) [INFO] [stderr] Checking timetracker-dump v0.4.3 (/opt/rustwide/workdir/dump-bin) [INFO] [stderr] Checking timetracker-print v0.4.3 (/opt/rustwide/workdir/print-bin) [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.0 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk v0.18.0 [INFO] [stderr] Checking timetracker-print-gui v0.4.3 (/opt/rustwide/workdir/print-gui-bin) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> recorder-bin/src/main.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | let mut data = ENTRY_BUFFER.lock().unwrap(); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> recorder-bin/src/main.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let database_file_path = unsafe { &CLEANUP_DATABASE_FILE_PATH.lock().unwrap() }; [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 [INFO] [stdout] --> recorder-bin/src/main.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | let mut cleanup_database_file_path = CLEANUP_DATABASE_FILE_PATH.lock().unwrap(); [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 [INFO] [stdout] --> recorder-bin/src/main.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | let mut data = ENTRY_BUFFER.lock().unwrap(); [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 [INFO] [stdout] --> recorder-bin/src/main.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | let mut data = ENTRY_BUFFER.lock().unwrap(); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> recorder-bin/src/main.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let database_file_path = unsafe { &CLEANUP_DATABASE_FILE_PATH.lock().unwrap() }; [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 [INFO] [stdout] --> recorder-bin/src/main.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | let mut cleanup_database_file_path = CLEANUP_DATABASE_FILE_PATH.lock().unwrap(); [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 [INFO] [stdout] --> recorder-bin/src/main.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | let mut data = ENTRY_BUFFER.lock().unwrap(); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "9a854df29b1b7506553b31c7d0595dd4efd287ce0390562c809bdc4721036541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a854df29b1b7506553b31c7d0595dd4efd287ce0390562c809bdc4721036541", kill_on_drop: false }` [INFO] [stdout] 9a854df29b1b7506553b31c7d0595dd4efd287ce0390562c809bdc4721036541