[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] testing david-cattermole/timetracker against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-cattermole%2Ftimetracker" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/david-cattermole/timetracker on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded shellexpand v3.1.0 [INFO] [stderr] Downloaded field-offset v0.3.6 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded gtk3-macros v0.18.0 [INFO] [stderr] Downloaded toml v0.8.2 [INFO] [stderr] Downloaded colored v2.1.0 [INFO] [stderr] Downloaded semver v1.0.21 [INFO] [stderr] Downloaded atk v0.18.0 [INFO] [stderr] Downloaded cairo-rs v0.18.5 [INFO] [stderr] Downloaded gio-sys v0.18.1 [INFO] [stderr] Downloaded glib-sys v0.18.1 [INFO] [stderr] Downloaded gdk-sys v0.18.0 [INFO] [stderr] Downloaded gdk v0.18.0 [INFO] [stderr] Downloaded gtk-sys v0.18.0 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded rusqlite v0.29.0 [INFO] [stderr] Downloaded glib v0.18.5 [INFO] [stderr] Downloaded glib-macros v0.18.5 [INFO] [stderr] Downloaded gio v0.18.4 [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] [stderr] Downloaded pango v0.18.3 [INFO] [stderr] Downloaded config v0.14.0 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] [stderr] Downloaded target-lexicon v0.12.13 [INFO] [stderr] Downloaded gtk v0.18.1 [INFO] [stderr] Downloaded system-deps v6.2.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.18.5 [INFO] [stderr] Downloaded atk-sys v0.18.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.18.2 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Downloaded proc-macro-crate v2.0.2 [INFO] [stderr] Downloaded gobject-sys v0.18.0 [INFO] [stderr] Downloaded pango-sys v0.18.0 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded env_logger v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 986d8cde95f0968e13088e25a3f2b3f9ffb3957b8f035b5346c9ce2d2f876fd7 [INFO] running `Command { std: "docker" "start" "-a" "986d8cde95f0968e13088e25a3f2b3f9ffb3957b8f035b5346c9ce2d2f876fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "986d8cde95f0968e13088e25a3f2b3f9ffb3957b8f035b5346c9ce2d2f876fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986d8cde95f0968e13088e25a3f2b3f9ffb3957b8f035b5346c9ce2d2f876fd7", kill_on_drop: false }` [INFO] [stdout] 986d8cde95f0968e13088e25a3f2b3f9ffb3957b8f035b5346c9ce2d2f876fd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6349c902b7a021c49a582583fc37477dfe0b1884948c3b183db357c7580ca6 [INFO] running `Command { std: "docker" "start" "-a" "af6349c902b7a021c49a582583fc37477dfe0b1884948c3b183db357c7580ca6", 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 proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [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 bitflags v2.4.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [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 phf_generator v0.11.2 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling textwrap v0.16.0 [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 chrono v0.4.34 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [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 timetracker-recorder v0.4.3 (/opt/rustwide/workdir/recorder-bin) [INFO] [stderr] Compiling field-offset v0.3.6 [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_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling num-derive v0.3.3 [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 toml v0.8.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling config v0.14.0 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling gtk3-macros v0.18.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 gdk-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [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 00s [INFO] running `Command { std: "docker" "inspect" "af6349c902b7a021c49a582583fc37477dfe0b1884948c3b183db357c7580ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6349c902b7a021c49a582583fc37477dfe0b1884948c3b183db357c7580ca6", kill_on_drop: false }` [INFO] [stdout] af6349c902b7a021c49a582583fc37477dfe0b1884948c3b183db357c7580ca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff627008a785ab722c6e7100a0d36bea177a5a56b9a21e3c6a63da8b2e558b02 [INFO] running `Command { std: "docker" "start" "-a" "ff627008a785ab722c6e7100a0d36bea177a5a56b9a21e3c6a63da8b2e558b02", 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-recorder v0.4.3 (/opt/rustwide/workdir/recorder-bin) [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] [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 3.08s [INFO] running `Command { std: "docker" "inspect" "ff627008a785ab722c6e7100a0d36bea177a5a56b9a21e3c6a63da8b2e558b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff627008a785ab722c6e7100a0d36bea177a5a56b9a21e3c6a63da8b2e558b02", kill_on_drop: false }` [INFO] [stdout] ff627008a785ab722c6e7100a0d36bea177a5a56b9a21e3c6a63da8b2e558b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25403a239a5fd658b6c0a57df7792fb077ccce2e0ab59b20c83d36d12d6d1588 [INFO] running `Command { std: "docker" "start" "-a" "25403a239a5fd658b6c0a57df7792fb077ccce2e0ab59b20c83d36d12d6d1588", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/entries.rs:12:53 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntryStatus` [INFO] [stderr] 13 | pub enum EntryStatus { [INFO] [stderr] | ----------- `EntryStatus` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/entries.rs:12:68 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EntryStatus` [INFO] [stderr] 13 | pub enum EntryStatus { [INFO] [stderr] | ----------- `EntryStatus` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `timetracker-core` (lib) generated 2 warnings [INFO] [stderr] warning: `timetracker-core` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> recorder-bin/src/main.rs:104:28 [INFO] [stderr] | [INFO] [stderr] 104 | let mut data = ENTRY_BUFFER.lock().unwrap(); [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> recorder-bin/src/main.rs:135:40 [INFO] [stderr] | [INFO] [stderr] 135 | let database_file_path = unsafe { &CLEANUP_DATABASE_FILE_PATH.lock().unwrap() }; [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 [INFO] [stderr] --> recorder-bin/src/main.rs:161:46 [INFO] [stderr] | [INFO] [stderr] 161 | let mut cleanup_database_file_path = CLEANUP_DATABASE_FILE_PATH.lock().unwrap(); [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 [INFO] [stderr] --> recorder-bin/src/main.rs:283:28 [INFO] [stderr] | [INFO] [stderr] 283 | let mut data = ENTRY_BUFFER.lock().unwrap(); [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: `timetracker-recorder` (bin "timetracker-recorder" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timetracker_configure-510781747e7eee3e) [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/timetracker_core-984dd304c681de1a) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test entries::tests::test_deduplication_all_same_from_scratch ... ok [INFO] [stdout] test entries::tests::test_deduplication_all_same_with_existing_and_long_timestamp ... ok [INFO] [stdout] test entries::tests::test_deduplication_all_same_with_existing ... ok [INFO] [stdout] test entries::tests::test_deduplication_some_same_from_scratch ... ok [INFO] [stdout] test format::tests::test_format_date_month_day_year_usa_1 ... ok [INFO] [stdout] test format::tests::test_format_datetime_iso_1 ... ok [INFO] [stdout] test format::tests::test_format_datetime_month_day_year_usa_1 ... ok [INFO] [stdout] test format::tests::test_format_duration_decimal_hours_round_down_1 ... ok [INFO] [stdout] test format::tests::test_format_duration_decimal_hours_round_down_2 ... ok [INFO] [stdout] test format::tests::test_format_duration_decimal_hours_round_up_1 ... ok [INFO] [stdout] test format::tests::test_format_duration_decimal_hours_round_up_2 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_mins_secs_2 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_mins_secs_1 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_mins_secs_3 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_mins_secs_4 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_minutes_1 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_minutes_2 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_minutes_3 ... ok [INFO] [stdout] test format::tests::test_format_duration_hours_minutes_4 ... ok [INFO] [stdout] test entries::tests::test_deduplication_some_same_with_existing ... ok [INFO] [stdout] test format::tests::test_format_date_iso_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timetracker_dump-dfffc5c945b049cc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timetracker_print-6e352d5f4ada77cf) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timetracker_print_gui-2e3421fa4b7ebc9f) [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] [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/timetracker_print_lib-dd5cbe52f50c10f5) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test aggregate::tests::test_get_map_keys_sorted_general_iso_format ... ok [INFO] [stdout] test aggregate::tests::test_get_map_keys_sorted_strings ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timetracker_recorder-4eb45c3cbffcfd96) [INFO] [stdout] test aggregate::tests::test_get_map_keys_sorted_general_usa_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] Doc-tests timetracker_core [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] Doc-tests timetracker_print_lib [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" "25403a239a5fd658b6c0a57df7792fb077ccce2e0ab59b20c83d36d12d6d1588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25403a239a5fd658b6c0a57df7792fb077ccce2e0ab59b20c83d36d12d6d1588", kill_on_drop: false }` [INFO] [stdout] 25403a239a5fd658b6c0a57df7792fb077ccce2e0ab59b20c83d36d12d6d1588