[INFO] fetching crate config_file_handler 0.11.0... [INFO] checking config_file_handler-0.11.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate config_file_handler 0.11.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate config_file_handler 0.11.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate config_file_handler 0.11.0 [INFO] finished tweaking crates.io crate config_file_handler 0.11.0 [INFO] tweaked toml for crates.io crate config_file_handler 0.11.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fba3a5c0607e198709e4e2e93e4d489b355485a33d8c5f2da3435fea49d1fabe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fba3a5c0607e198709e4e2e93e4d489b355485a33d8c5f2da3435fea49d1fabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fba3a5c0607e198709e4e2e93e4d489b355485a33d8c5f2da3435fea49d1fabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba3a5c0607e198709e4e2e93e4d489b355485a33d8c5f2da3435fea49d1fabe", kill_on_drop: false }` [INFO] [stdout] fba3a5c0607e198709e4e2e93e4d489b355485a33d8c5f2da3435fea49d1fabe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c8244a6a9a41544bd29b742fd7a8535e2c35762da00fd6bb9c7f26287a41f692 [INFO] running `Command { std: "docker" "start" "-a" "c8244a6a9a41544bd29b742fd7a8535e2c35762da00fd6bb9c7f26287a41f692", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking config_file_handler v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | exceeding_bitshifts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(bad_style) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 29 | bad_style, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(deprecated) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 30 | deprecated, [INFO] [stdout] | ^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(improper_ctypes) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 31 | improper_ctypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(non_shorthand_field_patterns) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 33 | non_shorthand_field_patterns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | private_no_mangle_fns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | private_no_mangle_statics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(stable_features) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 38 | stable_features, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unconditional_recursion) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 39 | unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 40 | unknown_lints, [INFO] [stdout] | ^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 42 | unused, [INFO] [stdout] | ^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_allocation) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 43 | unused_allocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_attributes) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 44 | unused_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_comparisons) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 45 | unused_comparisons, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_features) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 46 | unused_features, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_parens) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 47 | unused_parens, [INFO] [stdout] | ^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(while_true) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 48 | while_true [INFO] [stdout] | ^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | exceeding_bitshifts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(bad_style) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 29 | bad_style, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(deprecated) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 30 | deprecated, [INFO] [stdout] | ^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(improper_ctypes) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 31 | improper_ctypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(non_shorthand_field_patterns) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 33 | non_shorthand_field_patterns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | private_no_mangle_fns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | private_no_mangle_statics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(stable_features) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 38 | stable_features, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unconditional_recursion) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 39 | unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 40 | unknown_lints, [INFO] [stdout] | ^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 42 | unused, [INFO] [stdout] | ^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_allocation) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 43 | unused_allocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_attributes) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 44 | unused_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_comparisons) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 45 | unused_comparisons, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_features) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 46 | unused_features, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(unused_parens) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 47 | unused_parens, [INFO] [stdout] | ^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: deny(while_true) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 48 | while_true [INFO] [stdout] | ^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(renamed_and_removed_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(renamed_and_removed_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_doc_comments) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_qualifications) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_doc_comments) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_qualifications) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(renamed_and_removed_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_doc_comments) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(renamed_and_removed_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_doc_comments) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(renamed_and_removed_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unused_doc_comments) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(non_camel_case_types) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(dead_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ADDITIONAL_SEARCH_PATH` should have an upper camel case name [INFO] [stdout] --> src/file_handler.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AdditionalSearchPath` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(non_camel_case_types)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let mut path = system_cache_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | let contents = to_string_pretty(&T::default())?.into_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | let mut path = system_cache_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | fs::create_dir(&path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | let mut file = File::open(&self.path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | let contents = shared_lock(&mut file, |file| from_reader(file))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | let contents = to_string_pretty(contents)?.into_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | let mut file = OpenOptions::new() [INFO] [stdout] | ________________________^ [INFO] [stdout] 288 | | .write(true) [INFO] [stdout] 289 | | .create(true) [INFO] [stdout] 290 | | .truncate(true) [INFO] [stdout] 291 | | .open(&self.path)?; [INFO] [stdout] | |______________________________^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | write_with_lock(&mut file, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | fs::remove_file(path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | file.lock_exclusive()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | file.unlock()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | file.lock_shared()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | file.unlock()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:347:11 [INFO] [stdout] | [INFO] [stdout] 347 | match env::current_exe()?.parent() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let mut home_dir = env::home_dir() [INFO] [stdout] | ________________________^ [INFO] [stdout] 422 | | .ok_or_else(|| io::Error::new(io::ErrorKind::NotFound, "Home directory not found."))?; [INFO] [stdout] | |_____________________________________________________________________________________________^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(join_exe_file_stem(&home_dir)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 483 | Ok(join_exe_file_stem(sys_cache_dir)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | Ok(file_stem [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | .ok_or_else(|| not_found_error(&exe_path))? [INFO] [stdout] | |_______________________________________________________^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:564:18 [INFO] [stdout] | [INFO] [stdout] 564 | Ok(path.join(exe_file_stem()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/file_handler.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let mut home_dir = env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(deprecated)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Mutex, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(renamed_and_removed_lints) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `config_file_handler` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0453]: allow(unused_doc_comments) incompatible with previous forbid [INFO] [stdout] --> src/error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / quick_error! { [INFO] [stdout] 15 | | /// Error types. [INFO] [stdout] 16 | | #[derive(Debug)] [INFO] [stdout] 17 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(non_camel_case_types) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(dead_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ADDITIONAL_SEARCH_PATH` should have an upper camel case name [INFO] [stdout] --> src/file_handler.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AdditionalSearchPath` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(non_camel_case_types)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let mut path = system_cache_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | let contents = to_string_pretty(&T::default())?.into_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | let mut path = system_cache_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | fs::create_dir(&path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | write_with_lock(&mut f, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | let mut file = File::open(&self.path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | let contents = shared_lock(&mut file, |file| from_reader(file))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | let contents = to_string_pretty(contents)?.into_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | let mut file = OpenOptions::new() [INFO] [stdout] | ________________________^ [INFO] [stdout] 288 | | .write(true) [INFO] [stdout] 289 | | .create(true) [INFO] [stdout] 290 | | .truncate(true) [INFO] [stdout] 291 | | .open(&self.path)?; [INFO] [stdout] | |______________________________^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | write_with_lock(&mut file, &contents)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | fs::remove_file(path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | file.lock_exclusive()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | file.unlock()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | file.lock_shared()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | file.unlock()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:347:11 [INFO] [stdout] | [INFO] [stdout] 347 | match env::current_exe()?.parent() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let mut home_dir = env::home_dir() [INFO] [stdout] | ________________________^ [INFO] [stdout] 422 | | .ok_or_else(|| io::Error::new(io::ErrorKind::NotFound, "Home directory not found."))?; [INFO] [stdout] | |_____________________________________________________________________________________________^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(join_exe_file_stem(&home_dir)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 483 | Ok(join_exe_file_stem(sys_cache_dir)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | Ok(file_stem [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | .ok_or_else(|| not_found_error(&exe_path))? [INFO] [stdout] | |_______________________________________________________^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/file_handler.rs:564:18 [INFO] [stdout] | [INFO] [stdout] 564 | Ok(path.join(exe_file_stem()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/file_handler.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let mut home_dir = env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(deprecated)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Mutex, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0453`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0453`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c8244a6a9a41544bd29b742fd7a8535e2c35762da00fd6bb9c7f26287a41f692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8244a6a9a41544bd29b742fd7a8535e2c35762da00fd6bb9c7f26287a41f692", kill_on_drop: false }` [INFO] [stdout] c8244a6a9a41544bd29b742fd7a8535e2c35762da00fd6bb9c7f26287a41f692