[INFO] cloning repository https://github.com/Nachasic/rtrackr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nachasic/rtrackr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachasic%2Frtrackr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachasic%2Frtrackr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8914c3f15cc10f82da5142a53970da7e452a17e [INFO] checking Nachasic/rtrackr against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachasic%2Frtrackr" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nachasic/rtrackr on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nachasic/rtrackr [INFO] finished tweaking git repo https://github.com/Nachasic/rtrackr [INFO] tweaked toml for git repo https://github.com/Nachasic/rtrackr written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Nachasic/rtrackr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheNeikos/rustbreak.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e60fd8314a9100c7bcd3dc5c4171f58bdd9ef14d99f0b16e4761e289f85bc02 [INFO] running `Command { std: "docker" "start" "-a" "0e60fd8314a9100c7bcd3dc5c4171f58bdd9ef14d99f0b16e4761e289f85bc02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e60fd8314a9100c7bcd3dc5c4171f58bdd9ef14d99f0b16e4761e289f85bc02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e60fd8314a9100c7bcd3dc5c4171f58bdd9ef14d99f0b16e4761e289f85bc02", kill_on_drop: false }` [INFO] [stdout] 0e60fd8314a9100c7bcd3dc5c4171f58bdd9ef14d99f0b16e4761e289f85bc02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75ea7ebe5d1899f6a45d1f9d475d2cda822d413c48a4603a34e6c65a56f67b28 [INFO] running `Command { std: "docker" "start" "-a" "75ea7ebe5d1899f6a45d1f9d475d2cda822d413c48a4603a34e6c65a56f67b28", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.21: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking directories v3.0.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossterm v0.17.5 [INFO] [stderr] Checking chrono v0.4.12 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tui v0.9.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking rustbreak v2.0.0-rc3 (https://github.com/TheNeikos/rustbreak.git#20c09ef4) [INFO] [stderr] Checking trackr v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/tui/routes/route_main.rs (2 fixes) [INFO] [stderr] Fixed src/classifier/rules.rs (2 fixes) [INFO] [stderr] Fixed src/tui/components/mod.rs (2 fixes) [INFO] [stdout] warning: unused import: `crate::tui` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tui::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tui` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tui::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/event/event.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(tick_rate: u64) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/record_store/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_global_config() -> RecordStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/record_store/store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config: RecordStoreConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch_route` [INFO] [stdout] --> src/tui/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn switch_route(&mut self, route: Routes, state: &AppState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/classifier/config.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_global_config () -> ClassifierConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CLASSIFIER` [INFO] [stdout] --> src/constants.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const APP_CLASSIFIER: &'static str = "com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CORP` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const APP_CORP: &'static str = "Immortal Science"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_NAME` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APP_NAME: &'static str = "Trackr"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xorg/atom.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new(Self::get_name()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/event/event.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(tick_rate: u64) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/record_store/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_global_config() -> RecordStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/record_store/store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config: RecordStoreConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch_route` [INFO] [stdout] --> src/tui/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn switch_route(&mut self, route: Routes, state: &AppState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/classifier/config.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_global_config () -> ClassifierConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CLASSIFIER` [INFO] [stdout] --> src/constants.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const APP_CLASSIFIER: &'static str = "com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CORP` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const APP_CORP: &'static str = "Immortal Science"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_NAME` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APP_NAME: &'static str = "Trackr"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xorg/atom.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new(Self::get_name()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.85s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking trackr v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `crate::tui` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tui::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tui` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tui::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/event/event.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(tick_rate: u64) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/record_store/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_global_config() -> RecordStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/record_store/store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config: RecordStoreConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch_route` [INFO] [stdout] --> src/tui/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn switch_route(&mut self, route: Routes, state: &AppState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/classifier/config.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_global_config () -> ClassifierConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CLASSIFIER` [INFO] [stdout] --> src/constants.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const APP_CLASSIFIER: &'static str = "com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CORP` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const APP_CORP: &'static str = "Immortal Science"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_NAME` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APP_NAME: &'static str = "Trackr"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xorg/atom.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new(Self::get_name()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/event/event.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(tick_rate: u64) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/record_store/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_global_config() -> RecordStoreConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/record_store/store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config: RecordStoreConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `switch_route` [INFO] [stdout] --> src/tui/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn switch_route(&mut self, route: Routes, state: &AppState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_global_config` [INFO] [stdout] --> src/classifier/config.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_global_config () -> ClassifierConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CLASSIFIER` [INFO] [stdout] --> src/constants.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const APP_CLASSIFIER: &'static str = "com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_CORP` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const APP_CORP: &'static str = "Immortal Science"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_NAME` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APP_NAME: &'static str = "Trackr"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xorg/atom.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new(Self::get_name()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.05s [INFO] running `Command { std: "docker" "inspect" "75ea7ebe5d1899f6a45d1f9d475d2cda822d413c48a4603a34e6c65a56f67b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ea7ebe5d1899f6a45d1f9d475d2cda822d413c48a4603a34e6c65a56f67b28", kill_on_drop: false }` [INFO] [stdout] 75ea7ebe5d1899f6a45d1f9d475d2cda822d413c48a4603a34e6c65a56f67b28