[INFO] fetching crate easy_prefs 2.0.2... [INFO] checking easy_prefs-2.0.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate easy_prefs 2.0.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate easy_prefs 2.0.2 [INFO] finished tweaking crates.io crate easy_prefs 2.0.2 [INFO] tweaked toml for crates.io crate easy_prefs 2.0.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate easy_prefs 2.0.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate easy_prefs 2.0.2 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d08336b1c4eacf019e221beec463791aaf71ae5b0c391b1fdce484fff8337498 [INFO] running `Command { std: "docker" "start" "-a" "d08336b1c4eacf019e221beec463791aaf71ae5b0c391b1fdce484fff8337498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d08336b1c4eacf019e221beec463791aaf71ae5b0c391b1fdce484fff8337498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08336b1c4eacf019e221beec463791aaf71ae5b0c391b1fdce484fff8337498", kill_on_drop: false }` [INFO] [stdout] d08336b1c4eacf019e221beec463791aaf71ae5b0c391b1fdce484fff8337498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04a13c08269297d579f98781df161d90c6df56a137214994ec775d8cd514e33e [INFO] running `Command { std: "docker" "start" "-a" "04a13c08269297d579f98781df161d90c6df56a137214994ec775d8cd514e33e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking winnow v0.7.3 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking tempfile v3.17.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking easy_prefs v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `EditGuard_TestEasyPreferences` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferences` [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditGuard_TestEasyPreferencesUpdated` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferencesUpdated` [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditGuard_TestEasyPreferences` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferences` [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditGuard_TestEasyPreferencesUpdated` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferencesUpdated` [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditGuard_TestEasyPreferencesUpdated<'_>` is more private than the item `TestEasyPreferencesUpdated::edit` [INFO] [stdout] --> src/lib.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> [] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TestEasyPreferencesUpdated::edit` is reachable at visibility `pub` [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: but type `EditGuard_TestEasyPreferencesUpdated<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string`, `get_bool2_default_true`, `save_bool2_default_true`, `get_bool3_initial_default_false`, and `save_bool3_initial_default_false` are never used [INFO] [stdout] --> src/lib.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 133 | / impl $name { [INFO] [stdout] 134 | | const PREFERENCES_FILENAME: &'static str = concat!($preferences_filename, ".toml"); [INFO] [stdout] 135 | | [INFO] [stdout] 136 | | /// Loads preferences from a file, enforcing the single-instance constraint. [INFO] [stdout] ... | [INFO] [stdout] 213 | | pub fn to_string(&self) -> String { [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 281 | | pub fn [](&self) -> &$type { [INFO] [stdout] | | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 286 | | pub fn [](&mut self, value: $type) -> Result<(), std::io::Error> { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lib.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 313 | impl<'a> []<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn [](&mut self, value: $type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn [](&self) -> &$type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lib.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 313 | impl<'a> []<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn [](&mut self, value: $type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn [](&self) -> &$type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `TestEasyPreferences_INSTANCE_EXISTS` should have an upper case name [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 93 - static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] 93 + static TEST_EASY_PREFERENCES_INSTANCE_EXISTS: $crate::once_cell::sync::Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> [] { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> []<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `TestEasyPreferencesUpdated_INSTANCE_EXISTS` should have an upper case name [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 93 - static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] 93 + static TEST_EASY_PREFERENCES_UPDATED_INSTANCE_EXISTS: $crate::once_cell::sync::Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> [] { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> []<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditGuard_TestEasyPreferencesUpdated<'_>` is more private than the item `TestEasyPreferencesUpdated::edit` [INFO] [stdout] --> src/lib.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> [] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TestEasyPreferencesUpdated::edit` is reachable at visibility `pub` [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: but type `EditGuard_TestEasyPreferencesUpdated<'_>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 133 | / impl $name { [INFO] [stdout] 134 | | const PREFERENCES_FILENAME: &'static str = concat!($preferences_filename, ".toml"); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | | [INFO] [stdout] 136 | | /// Loads preferences from a file, enforcing the single-instance constraint. [INFO] [stdout] ... | [INFO] [stdout] 152 | | pub fn load(directory: &str) -> Result { [INFO] [stdout] | | ^^^^ [INFO] [stdout] ... | [INFO] [stdout] 198 | | pub fn load_testing() -> Self { [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 213 | | pub fn to_string(&self) -> String { [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 232 | | pub fn save(&self) -> Result<(), std::io::Error> { [INFO] [stdout] | | ^^^^ [INFO] [stdout] ... | [INFO] [stdout] 275 | | pub fn get_preferences_file_path(&self) -> String { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 281 | | pub fn [](&self) -> &$type { [INFO] [stdout] | | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 286 | | pub fn [](&mut self, value: $type) -> Result<(), std::io::Error> { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 297 | | pub fn edit(&mut self) -> [] { [INFO] [stdout] | | ^^^^ [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditGuard_TestEasyPreferences` is never constructed [INFO] [stdout] --> src/lib.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | struct []<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lib.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 313 | impl<'a> []<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn [](&mut self, value: $type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn [](&self) -> &$type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lib.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 313 | impl<'a> []<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn [](&mut self, value: $type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn [](&self) -> &$type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `TestEasyPreferences_INSTANCE_EXISTS` should have an upper case name [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 93 - static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] 93 + static TEST_EASY_PREFERENCES_INSTANCE_EXISTS: $crate::once_cell::sync::Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> [] { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 347 | / easy_prefs! { [INFO] [stdout] 348 | | /// Original test preferences. [INFO] [stdout] 349 | | struct TestEasyPreferences { [INFO] [stdout] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stdout] ... | [INFO] [stdout] 355 | | }, "test-easy-prefs" [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> []<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `TestEasyPreferencesUpdated_INSTANCE_EXISTS` should have an upper case name [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 93 - static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stdout] 93 + static TEST_EASY_PREFERENCES_UPDATED_INSTANCE_EXISTS: $crate::once_cell::sync::Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> [] { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 359 | / easy_prefs! { [INFO] [stdout] 360 | | /// Updated test preferences for schema evolution. [INFO] [stdout] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stdout] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stdout] ... | [INFO] [stdout] 367 | | }, "test-easy-prefs" [INFO] [stdout] 368 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn edit(&mut self) -> []<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.52s [INFO] running `Command { std: "docker" "inspect" "04a13c08269297d579f98781df161d90c6df56a137214994ec775d8cd514e33e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a13c08269297d579f98781df161d90c6df56a137214994ec775d8cd514e33e", kill_on_drop: false }` [INFO] [stdout] 04a13c08269297d579f98781df161d90c6df56a137214994ec775d8cd514e33e