[INFO] cloning repository https://github.com/everaccountable/easy_prefs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/everaccountable/easy_prefs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feveraccountable%2Feasy_prefs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feveraccountable%2Feasy_prefs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbca8c5632921b4a8d7100a54d2fbb33bb4530cc [INFO] testing everaccountable/easy_prefs against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feveraccountable%2Feasy_prefs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/everaccountable/easy_prefs on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/everaccountable/easy_prefs [INFO] finished tweaking git repo https://github.com/everaccountable/easy_prefs [INFO] tweaked toml for git repo https://github.com/everaccountable/easy_prefs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/everaccountable/easy_prefs 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6a6b8a102757e959b2b09eb9a95d196f0d4ecac01b8f6fbe54caf527b5457a1 [INFO] running `Command { std: "docker" "start" "-a" "a6a6b8a102757e959b2b09eb9a95d196f0d4ecac01b8f6fbe54caf527b5457a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6a6b8a102757e959b2b09eb9a95d196f0d4ecac01b8f6fbe54caf527b5457a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a6b8a102757e959b2b09eb9a95d196f0d4ecac01b8f6fbe54caf527b5457a1", kill_on_drop: false }` [INFO] [stdout] a6a6b8a102757e959b2b09eb9a95d196f0d4ecac01b8f6fbe54caf527b5457a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe406347db4466424bd0ebb918f6e593bd88751a2b86b83d0fe3ac5d05c9c3a9 [INFO] running `Command { std: "docker" "start" "-a" "fe406347db4466424bd0ebb918f6e593bd88751a2b86b83d0fe3ac5d05c9c3a9", 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 equivalent v1.0.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling 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_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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_INSTANCE_EXISTS` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_UPDATED_INSTANCE_EXISTS` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.75s [INFO] running `Command { std: "docker" "inspect" "fe406347db4466424bd0ebb918f6e593bd88751a2b86b83d0fe3ac5d05c9c3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe406347db4466424bd0ebb918f6e593bd88751a2b86b83d0fe3ac5d05c9c3a9", kill_on_drop: false }` [INFO] [stdout] fe406347db4466424bd0ebb918f6e593bd88751a2b86b83d0fe3ac5d05c9c3a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1dbcc045319453282ae91826611501f67b699b1c065a9fdbbd848186848edcb [INFO] running `Command { std: "docker" "start" "-a" "d1dbcc045319453282ae91826611501f67b699b1c065a9fdbbd848186848edcb", kill_on_drop: false }` [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_INSTANCE_EXISTS` [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] [INFO] [stdout] [INFO] [stderr] Compiling easy_prefs v2.0.2 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_UPDATED_INSTANCE_EXISTS` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_INSTANCE_EXISTS` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_UPDATED_INSTANCE_EXISTS` [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "d1dbcc045319453282ae91826611501f67b699b1c065a9fdbbd848186848edcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1dbcc045319453282ae91826611501f67b699b1c065a9fdbbd848186848edcb", kill_on_drop: false }` [INFO] [stdout] d1dbcc045319453282ae91826611501f67b699b1c065a9fdbbd848186848edcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b8f6541f032dea907228a8941150e88025ad83aaaf976ae14275758f014ca2e [INFO] running `Command { std: "docker" "start" "-a" "1b8f6541f032dea907228a8941150e88025ad83aaaf976ae14275758f014ca2e", kill_on_drop: false }` [INFO] [stderr] warning: type `EditGuard_TestEasyPreferences` should have an upper camel case name [INFO] [stderr] --> src/lib.rs:307:20 [INFO] [stderr] | [INFO] [stderr] 307 | struct []<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferences` [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type `EditGuard_TestEasyPreferencesUpdated` should have an upper camel case name [INFO] [stderr] --> src/lib.rs:307:20 [INFO] [stderr] | [INFO] [stderr] 307 | struct []<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferencesUpdated` [INFO] [stderr] ... [INFO] [stderr] 359 | / easy_prefs! { [INFO] [stderr] 360 | | /// Updated test preferences for schema evolution. [INFO] [stderr] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stderr] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stderr] ... | [INFO] [stderr] 367 | | }, "test-easy-prefs" [INFO] [stderr] 368 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type `EditGuard_TestEasyPreferencesUpdated<'_>` is more private than the item `TestEasyPreferencesUpdated::edit` [INFO] [stderr] --> src/lib.rs:297:17 [INFO] [stderr] | [INFO] [stderr] 297 | pub fn edit(&mut self) -> [] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TestEasyPreferencesUpdated::edit` is reachable at visibility `pub` [INFO] [stderr] ... [INFO] [stderr] 359 | / easy_prefs! { [INFO] [stderr] 360 | | /// Updated test preferences for schema evolution. [INFO] [stderr] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stderr] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stderr] ... | [INFO] [stderr] 367 | | }, "test-easy-prefs" [INFO] [stderr] 368 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: but type `EditGuard_TestEasyPreferencesUpdated<'_>` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:307:13 [INFO] [stderr] | [INFO] [stderr] 307 | struct []<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 359 | / easy_prefs! { [INFO] [stderr] 360 | | /// Updated test preferences for schema evolution. [INFO] [stderr] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stderr] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stderr] ... | [INFO] [stderr] 367 | | }, "test-easy-prefs" [INFO] [stderr] 368 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/lib.rs:134:23 [INFO] [stderr] | [INFO] [stderr] 133 | / impl $name { [INFO] [stderr] 134 | | const PREFERENCES_FILENAME: &'static str = concat!($preferences_filename, ".toml"); [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 135 | | [INFO] [stderr] 136 | | /// Loads preferences from a file, enforcing the single-instance constraint. [INFO] [stderr] ... | [INFO] [stderr] 152 | | pub fn load(directory: &str) -> Result { [INFO] [stderr] | | ^^^^ [INFO] [stderr] ... | [INFO] [stderr] 198 | | pub fn load_testing() -> Self { [INFO] [stderr] | | ^^^^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 213 | | pub fn to_string(&self) -> String { [INFO] [stderr] | | ^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 232 | | pub fn save(&self) -> Result<(), std::io::Error> { [INFO] [stderr] | | ^^^^ [INFO] [stderr] ... | [INFO] [stderr] 275 | | pub fn get_preferences_file_path(&self) -> String { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 281 | | pub fn [](&self) -> &$type { [INFO] [stderr] | | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 286 | | pub fn [](&mut self, value: $type) -> Result<(), std::io::Error> { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 297 | | pub fn edit(&mut self) -> [] { [INFO] [stderr] | | ^^^^ [INFO] [stderr] ... | [INFO] [stderr] 304 | | } [INFO] [stderr] | |_____________- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `EditGuard_TestEasyPreferences` is never constructed [INFO] [stderr] --> src/lib.rs:307:20 [INFO] [stderr] | [INFO] [stderr] 307 | struct []<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/lib.rs:316:28 [INFO] [stderr] | [INFO] [stderr] 313 | impl<'a> []<'a> { [INFO] [stderr] | --------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 316 | pub fn [](&mut self, value: $type) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 324 | pub fn [](&self) -> &$type { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/lib.rs:316:28 [INFO] [stderr] | [INFO] [stderr] 313 | impl<'a> []<'a> { [INFO] [stderr] | --------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 316 | pub fn [](&mut self, value: $type) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 324 | pub fn [](&self) -> &$type { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 359 | / easy_prefs! { [INFO] [stderr] 360 | | /// Updated test preferences for schema evolution. [INFO] [stderr] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stderr] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stderr] ... | [INFO] [stderr] 367 | | }, "test-easy-prefs" [INFO] [stderr] 368 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: static variable `TestEasyPreferences_INSTANCE_EXISTS` should have an upper case name [INFO] [stderr] --> src/lib.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_INSTANCE_EXISTS` [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: static variable `TestEasyPreferencesUpdated_INSTANCE_EXISTS` should have an upper case name [INFO] [stderr] --> src/lib.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | static [<$name _INSTANCE_EXISTS>]: $crate::once_cell::sync::Lazy = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_EASY_PREFERENCES_UPDATED_INSTANCE_EXISTS` [INFO] [stderr] ... [INFO] [stderr] 359 | / easy_prefs! { [INFO] [stderr] 360 | | /// Updated test preferences for schema evolution. [INFO] [stderr] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stderr] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stderr] ... | [INFO] [stderr] 367 | | }, "test-easy-prefs" [INFO] [stderr] 368 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:213:24 [INFO] [stderr] | [INFO] [stderr] 133 | / impl $name { [INFO] [stderr] 134 | | const PREFERENCES_FILENAME: &'static str = concat!($preferences_filename, ".toml"); [INFO] [stderr] 135 | | [INFO] [stderr] 136 | | /// Loads preferences from a file, enforcing the single-instance constraint. [INFO] [stderr] ... | [INFO] [stderr] 213 | | pub fn to_string(&self) -> String { [INFO] [stderr] | | ^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 281 | | pub fn [](&self) -> &$type { [INFO] [stderr] | | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 286 | | pub fn [](&mut self, value: $type) -> Result<(), std::io::Error> { [INFO] [stderr] | | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... | [INFO] [stderr] 304 | | } [INFO] [stderr] | |_____________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `easy_prefs` (lib) generated 9 warnings [INFO] [stderr] warning: `easy_prefs` (lib test) generated 8 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/easy_prefs-8fda42c237df1684) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_edit_guard ... ok [INFO] [stdout] test tests::test_load_save_preferences_with_macro ... ok [INFO] [stdout] test tests::test_with_arc_mutex ... ok [INFO] [stdout] test tests::test_real_preferences_and_single_instance ... ok [INFO] [stderr] Doc-tests easy_prefs [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] warning: type `EditGuard_TestEasyPreferences` should have an upper camel case name [INFO] [stderr] --> src/lib.rs:307:20 [INFO] [stderr] | [INFO] [stderr] 307 | struct []<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferences` [INFO] [stderr] ... [INFO] [stderr] 347 | / easy_prefs! { [INFO] [stderr] 348 | | /// Original test preferences. [INFO] [stderr] 349 | | struct TestEasyPreferences { [INFO] [stderr] 350 | | pub bool1_default_true: bool = true => "bool1_default_true", [INFO] [stderr] ... | [INFO] [stderr] 355 | | }, "test-easy-prefs" [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type `EditGuard_TestEasyPreferencesUpdated` should have an upper camel case name [INFO] [stderr] --> src/lib.rs:307:20 [INFO] [stderr] | [INFO] [stderr] 307 | struct []<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EditGuardTestEasyPreferencesUpdated` [INFO] [stderr] ... [INFO] [stderr] 359 | / easy_prefs! { [INFO] [stderr] 360 | | /// Updated test preferences for schema evolution. [INFO] [stderr] 361 | | pub struct TestEasyPreferencesUpdated { [INFO] [stderr] 362 | | pub bool2_default_true_renamed: bool = true => "bool2_default_true", [INFO] [stderr] ... | [INFO] [stderr] 367 | | }, "test-easy-prefs" [INFO] [stderr] 368 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `easy_prefs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [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" "1b8f6541f032dea907228a8941150e88025ad83aaaf976ae14275758f014ca2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8f6541f032dea907228a8941150e88025ad83aaaf976ae14275758f014ca2e", kill_on_drop: false }` [INFO] [stdout] 1b8f6541f032dea907228a8941150e88025ad83aaaf976ae14275758f014ca2e