[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] building david-cattermole/timetracker against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-cattermole%2Ftimetracker" "/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/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/david-cattermole/timetracker on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libredox v0.0.1 [INFO] [stderr] Downloaded gtk3-macros v0.18.0 [INFO] [stderr] Downloaded env_logger v0.11.2 [INFO] [stderr] Downloaded redox_users v0.4.4 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded atk v0.18.0 [INFO] [stderr] Downloaded ahash v0.8.8 [INFO] [stderr] Downloaded gdk v0.18.0 [INFO] [stderr] Downloaded gdk-sys v0.18.0 [INFO] [stderr] Downloaded rusqlite v0.29.0 [INFO] [stderr] Downloaded target-lexicon v0.12.13 [INFO] [stderr] Downloaded shellexpand v3.1.0 [INFO] [stderr] Downloaded semver v1.0.21 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded system-deps v6.2.0 [INFO] [stderr] Downloaded jobserver v0.1.28 [INFO] [stderr] Downloaded atk-sys v0.18.0 [INFO] [stderr] Downloaded gtk v0.18.1 [INFO] [stderr] Downloaded gtk-sys v0.18.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.26.0 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df7da2cefbf6efbefef4ebb52c24b1dcc506b6d8b4489f1988e6dad6561e5c53 [INFO] running `Command { std: "docker" "start" "-a" "df7da2cefbf6efbefef4ebb52c24b1dcc506b6d8b4489f1988e6dad6561e5c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7da2cefbf6efbefef4ebb52c24b1dcc506b6d8b4489f1988e6dad6561e5c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7da2cefbf6efbefef4ebb52c24b1dcc506b6d8b4489f1988e6dad6561e5c53", kill_on_drop: false }` [INFO] [stdout] df7da2cefbf6efbefef4ebb52c24b1dcc506b6d8b4489f1988e6dad6561e5c53 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a794bd5d3ed717301d381501bf256bb9e62fe1d2361b8e1fe22c71d42e766007 [INFO] running `Command { std: "docker" "start" "-a" "a794bd5d3ed717301d381501bf256bb9e62fe1d2361b8e1fe22c71d42e766007", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling memchr v2.7.1 [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 jobserver v0.1.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling colored v2.1.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] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling config v0.14.0 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling gtk3-macros v0.18.0 [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 glib-macros v0.18.5 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling 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] [stderr] Compiling timetracker-print-lib v0.4.3 (/opt/rustwide/workdir/print-lib) [INFO] [stderr] Compiling timetracker-configure v0.4.3 (/opt/rustwide/workdir/configure-bin) [INFO] [stderr] Compiling timetracker-print v0.4.3 (/opt/rustwide/workdir/print-bin) [INFO] [stderr] Compiling timetracker-dump v0.4.3 (/opt/rustwide/workdir/dump-bin) [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling atk v0.18.0 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling gdk v0.18.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 2m 26s [INFO] running `Command { std: "docker" "inspect" "a794bd5d3ed717301d381501bf256bb9e62fe1d2361b8e1fe22c71d42e766007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a794bd5d3ed717301d381501bf256bb9e62fe1d2361b8e1fe22c71d42e766007", kill_on_drop: false }` [INFO] [stdout] a794bd5d3ed717301d381501bf256bb9e62fe1d2361b8e1fe22c71d42e766007 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7f3f9634dd74334c495241c71acd44b492bc69f122a9a2520b19a2674e26541 [INFO] running `Command { std: "docker" "start" "-a" "f7f3f9634dd74334c495241c71acd44b492bc69f122a9a2520b19a2674e26541", kill_on_drop: false }` [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] Compiling timetracker-print-lib v0.4.3 (/opt/rustwide/workdir/print-lib) [INFO] [stderr] Compiling timetracker-configure v0.4.3 (/opt/rustwide/workdir/configure-bin) [INFO] [stderr] Compiling timetracker-print v0.4.3 (/opt/rustwide/workdir/print-bin) [INFO] [stderr] Compiling timetracker-dump v0.4.3 (/opt/rustwide/workdir/dump-bin) [INFO] [stderr] Compiling timetracker-core v0.4.3 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling timetracker-print-gui v0.4.3 (/opt/rustwide/workdir/print-gui-bin) [INFO] [stderr] Compiling timetracker-recorder v0.4.3 (/opt/rustwide/workdir/recorder-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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "f7f3f9634dd74334c495241c71acd44b492bc69f122a9a2520b19a2674e26541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7f3f9634dd74334c495241c71acd44b492bc69f122a9a2520b19a2674e26541", kill_on_drop: false }` [INFO] [stdout] f7f3f9634dd74334c495241c71acd44b492bc69f122a9a2520b19a2674e26541