[INFO] cloning repository https://github.com/wangdengwu/rust-by-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangdengwu/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangdengwu%2Frust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangdengwu%2Frust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 899a3490bc0203063564d90c64c097a28b0277f0 [INFO] checking wangdengwu/rust-by-example against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangdengwu%2Frust-by-example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangdengwu/rust-by-example on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wangdengwu/rust-by-example [INFO] finished tweaking git repo https://github.com/wangdengwu/rust-by-example [INFO] tweaked toml for git repo https://github.com/wangdengwu/rust-by-example written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wangdengwu/rust-by-example 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7d4effcf4e82db2758479ba93c75bbf5f7721154d0454b5cc7eff994337c866 [INFO] running `Command { std: "docker" "start" "-a" "b7d4effcf4e82db2758479ba93c75bbf5f7721154d0454b5cc7eff994337c866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7d4effcf4e82db2758479ba93c75bbf5f7721154d0454b5cc7eff994337c866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d4effcf4e82db2758479ba93c75bbf5f7721154d0454b5cc7eff994337c866", kill_on_drop: false }` [INFO] [stdout] b7d4effcf4e82db2758479ba93c75bbf5f7721154d0454b5cc7eff994337c866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a05b3c04a74fda9c20abf61ae0f037973fa613cbecdc066daf7f233753ff4101 [INFO] running `Command { std: "docker" "start" "-a" "a05b3c04a74fda9c20abf61ae0f037973fa613cbecdc066daf7f233753ff4101", kill_on_drop: false }` [INFO] [stderr] Checking rust-by-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/hello_world/display/formatting.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/custom_types/structs.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/flow_control/match/destructure_structures.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/functions/diverging.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deeply::nested::function as other_function` [INFO] [stdout] --> src/modules/use.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use deeply::nested::function as other_function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/primitives/literals_operators.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/primitives/tuples.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/primitives/array_slices.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/custom_types/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/variable_bindings/mutability.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/variable_bindings/scope_shadowing.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/variable_bindings/declare_first.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/variable_bindings/freezing.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/types/casting.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(error)]// @formatter:off [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/types/casting.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(error)]// @formatter:off [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/flow_control/for.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/flow_control/match/destructure_structures.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/methods.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/methods.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures/capture.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(error)] // @formatter:off [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures/capture.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures/capture.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures/iter_any.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures/iter_any.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/functions/closures.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/functions/diverging.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/modules/struct_visibility.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(error)] // @formatter:off [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/modules/struct_visibility.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(error)] // @formatter:off [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/generics/bounds.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `error` [INFO] [stdout] --> src/generics/bounds.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(error)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "error"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(error)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(error)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_world` is never used [INFO] [stdout] --> src/hello_world/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn hello_world() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_default` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn format_by_default() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_index` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn format_by_index() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_named` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn format_by_named() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_binary_type` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn format_by_binary_type() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_octal_type` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn format_by_octal_type() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_hexadecimal_type` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn format_by_hexadecimal_type() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_right_justify_default` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn format_by_right_justify_default() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_right_justify_0` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn format_by_right_justify_0() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_left_adjust_0` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn format_by_left_adjust_0() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_right_justify_width` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn format_by_right_justify_width() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_pi` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn format_by_pi() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Structure` is never constructed [INFO] [stdout] --> src/hello_world/formatted_print.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct Structure(i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_struct` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn format_by_struct() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_by_local_variable` is never used [INFO] [stdout] --> src/hello_world/formatted_print.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn format_by_local_variable() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Structure` is never constructed [INFO] [stdout] --> src/hello_world/debug.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Structure(i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deep` is never constructed [INFO] [stdout] --> src/hello_world/debug.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Deep(Structure); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_debug_by_default` is never used [INFO] [stdout] --> src/hello_world/debug.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn format_debug_by_default() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_debug_by_index` is never used [INFO] [stdout] --> src/hello_world/debug.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn format_debug_by_index() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_debug_by_struct` is never used [INFO] [stdout] --> src/hello_world/debug.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn format_debug_by_struct() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_debug_by_struct_deep` is never used [INFO] [stdout] --> src/hello_world/debug.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn format_debug_by_struct_deep() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/hello_world/debug.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Person<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_debug_by_pretty_print` is never used [INFO] [stdout] --> src/hello_world/debug.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn format_debug_by_pretty_print() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Structure` is never constructed [INFO] [stdout] --> src/hello_world/display.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Structure(i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinMax` is never constructed [INFO] [stdout] --> src/hello_world/display.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct MinMax(i64, i64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point2D` is never constructed [INFO] [stdout] --> src/hello_world/display.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Point2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/hello_world/display/testcase_list.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct List(Vec); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `City` is never constructed [INFO] [stdout] --> src/hello_world/display/formatting.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct City { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/hello_world/display/formatting.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse` is never used [INFO] [stdout] --> src/primitives/tuples.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn reverse(pair: (i32, bool)) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/primitives/tuples.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Matrix(f32, f32, f32, f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transpose` is never used [INFO] [stdout] --> src/primitives/tuples.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn transpose(matrix: Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `analyze_slice` is never used [INFO] [stdout] --> src/primitives/array_slices.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn analyze_slice(slice: &[i32]) -> (i32, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/custom_types/structs.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unit` is never constructed [INFO] [stdout] --> src/custom_types/structs.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/custom_types/structs.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Pair(i32, f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/custom_types/structs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/custom_types/structs.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WebEvent` is never used [INFO] [stdout] --> src/custom_types/enums.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum WebEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> src/custom_types/enums.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn inspect(event: WebEvent) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Number` is never used [INFO] [stdout] --> src/custom_types/enums.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | enum Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/custom_types/enums.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add` and `Subtract` are never constructed [INFO] [stdout] --> src/custom_types/enums.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum VeryVerboseEnumOfThingsToDoWithNumbers { [INFO] [stdout] | -------------------------------------- variants in this enum [INFO] [stdout] 32 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VeryVerboseEnumOfThingsToDoWithNumbers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Operations` is never used [INFO] [stdout] --> src/custom_types/enums.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) type Operations = VeryVerboseEnumOfThingsToDoWithNumbers; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/custom_types/enums.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 38 | impl Operations { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 39 | pub(crate) fn run(&self, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/custom_types/testcase_linked_list.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `prepend`, `len`, and `stringify` are never used [INFO] [stdout] --> src/custom_types/testcase_linked_list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | // Create an empty list [INFO] [stdout] 13 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn prepend(self, elem: u32) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn stringify(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LANGUAGE` is never used [INFO] [stdout] --> src/custom_types/constants.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | static mut LANGUAGE: &str = "Rust"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THRESHOLD` is never used [INFO] [stdout] --> src/custom_types/constants.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const THRESHOLD: i32 = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_big` is never used [INFO] [stdout] --> src/custom_types/constants.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_big(n: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NanoSecond` is never used [INFO] [stdout] --> src/types/aliasing.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type NanoSecond = u64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Inch` is never used [INFO] [stdout] --> src/types/aliasing.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Inch = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `U64` is never used [INFO] [stdout] --> src/types/aliasing.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type U64 = u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/conversion/from_into.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/conversion/from_into.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/conversion/to_and_from_strings.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_loop` is never used [INFO] [stdout] --> src/flow_control/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_loop(fizzbuzz: &mut i32, fizz: &mut i32, buzz: &mut i32, counter: &mut i32, n: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_else_str` is never used [INFO] [stdout] --> src/flow_control/if_else.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn if_else_str(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_else_int` is never used [INFO] [stdout] --> src/flow_control/if_else.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn if_else_int(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_number` is never used [INFO] [stdout] --> src/flow_control/match.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn match_number(number: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_boolean` is never used [INFO] [stdout] --> src/flow_control/match.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn match_boolean(boolean: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_slice` is never used [INFO] [stdout] --> src/flow_control/match/destructure_slice.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn match_slice(array: [i32; 3]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_tuple` is never used [INFO] [stdout] --> src/flow_control/match/destructure_tuple.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn match_tuple(triple: (i32, i32, i32)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/flow_control/match/destructure_enum.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_enum` is never used [INFO] [stdout] --> src/flow_control/match/destructure_enum.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_enum(color: Color) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> src/flow_control/match/destructure_structures.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_struct` is never used [INFO] [stdout] --> src/flow_control/match/destructure_structures.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn match_struct(foo: Foo) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Temperature` is never used [INFO] [stdout] --> src/flow_control/match/guard.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Temperature { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_guard` is never used [INFO] [stdout] --> src/flow_control/match/guard.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn match_guard(temperature: Temperature) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Age` is never used [INFO] [stdout] --> src/flow_control/match/binding.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type Age = fn() -> u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `age` is never used [INFO] [stdout] --> src/flow_control/match/binding.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn age(a: Age) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SomeNumber` is never used [INFO] [stdout] --> src/flow_control/match/binding.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type SomeNumber = fn() -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_number` is never used [INFO] [stdout] --> src/flow_control/match/binding.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn some_number(sn: SomeNumber) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Foo` is never used [INFO] [stdout] --> src/flow_control/if_let.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_count_item` is never used [INFO] [stdout] --> src/flow_control/let_else.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_count_item(s: &str) -> (u32, &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_divisible_by` is never used [INFO] [stdout] --> src/functions/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_divisible_by(lhs: u32, rhs: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fizzbuzz` is never used [INFO] [stdout] --> src/functions/mod.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn fizzbuzz(n: u32) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fizzbuzz_to` is never used [INFO] [stdout] --> src/functions/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn fizzbuzz_to(n: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/functions/methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `origin` and `new` are never used [INFO] [stdout] --> src/functions/methods.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Point { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn new(x: f64, y: f64) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/functions/methods.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `perimeter`, and `translate` are never used [INFO] [stdout] --> src/functions/methods.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn perimeter(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn translate(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/functions/methods.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Pair(Box, Box); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destroy` is never used [INFO] [stdout] --> src/functions/methods.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Pair { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn destroy(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/functions/closures/input_parameters.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn apply(f: F) where [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_to_3` is never used [INFO] [stdout] --> src/functions/closures/input_parameters.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn apply_to_3(f: F) -> i32 where [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_once` is never used [INFO] [stdout] --> src/functions/closures/anonymity.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn fn_once(f: F) where [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply` is never used [INFO] [stdout] --> src/functions/closures/anonymity.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(f: F) where [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_me` is never used [INFO] [stdout] --> src/functions/closures/input_functions.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn call_me(f: F) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/functions/closures/input_functions.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_fn` is never used [INFO] [stdout] --> src/functions/closures/output_parameters.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn create_fn() -> impl Fn() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_fn_mut` is never used [INFO] [stdout] --> src/functions/closures/output_parameters.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_fn_mut() -> impl FnMut() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_fn_once` is never used [INFO] [stdout] --> src/functions/closures/output_parameters.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_fn_once() -> impl FnOnce() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterator` is never used [INFO] [stdout] --> src/functions/closures/iter_any.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterator` is never used [INFO] [stdout] --> src/functions/closures/iter_find.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_odd` is never used [INFO] [stdout] --> src/functions/higher_order_functions.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn is_odd(n: u32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_odd_numbers` is never used [INFO] [stdout] --> src/functions/diverging.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn sum_odd_numbers(up_to: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/visibility.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn function() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `private_function` is never used [INFO] [stdout] --> src/modules/visibility.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn private_function() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/visibility.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn function() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indirect_access` is never used [INFO] [stdout] --> src/modules/visibility.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn indirect_access() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_public_function_in_my_mod` is never used [INFO] [stdout] --> src/modules/visibility.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn call_public_function_in_my_mod() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_function_in_crate` is never used [INFO] [stdout] --> src/modules/visibility.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn public_function_in_crate() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/visibility.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn function() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `private_function` is never used [INFO] [stdout] --> src/modules/visibility.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn private_function() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_function_in_my_mod` is never used [INFO] [stdout] --> src/modules/visibility.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | pub(in crate::modules::visibility::my_mod) fn public_function_in_my_mod() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_function_in_nested` is never used [INFO] [stdout] --> src/modules/visibility.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub(self) fn public_function_in_nested() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_function_in_super_mod` is never used [INFO] [stdout] --> src/modules/visibility.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn public_function_in_super_mod() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/visibility.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn function() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restricted_function` is never used [INFO] [stdout] --> src/modules/visibility.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn restricted_function() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenBox` is never constructed [INFO] [stdout] --> src/modules/struct_visibility.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OpenBox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClosedBox` is never constructed [INFO] [stdout] --> src/modules/struct_visibility.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ClosedBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/modules/struct_visibility.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | impl ClosedBox { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 14 | // A public constructor method [INFO] [stdout] 15 | pub fn new(contents: T) -> ClosedBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/use.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn function() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/use.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn function() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/super_self.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/super_self.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/super_self.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indirect_call` is never used [INFO] [stdout] --> src/modules/super_self.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn indirect_call() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/modules/super_self.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `A` is never constructed [INFO] [stdout] --> src/generics/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct A; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Single` is never constructed [INFO] [stdout] --> src/generics/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Single(A); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleGen` is never constructed [INFO] [stdout] --> src/generics/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct SingleGen(T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `A` is never constructed [INFO] [stdout] --> src/generics/gen_fn.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct A; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S` is never constructed [INFO] [stdout] --> src/generics/gen_fn.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct S(A); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SGen` is never constructed [INFO] [stdout] --> src/generics/gen_fn.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct SGen(T); // Generic type `SGen`. [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_fn` is never used [INFO] [stdout] --> src/generics/gen_fn.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn reg_fn(s: S) -> S { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_spec_t` is never used [INFO] [stdout] --> src/generics/gen_fn.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn gen_spec_t(s: SGen) -> SGen { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_spec_i32` is never used [INFO] [stdout] --> src/generics/gen_fn.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn gen_spec_i32(s: SGen) -> SGen { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic` is never used [INFO] [stdout] --> src/generics/gen_fn.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn generic(s: SGen) -> SGen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Val` is never constructed [INFO] [stdout] --> src/generics/impl.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenVal` is never constructed [INFO] [stdout] --> src/generics/impl.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct GenVal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/generics/impl.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Val { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 11 | fn value(&self) -> &f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/generics/impl.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl GenVal { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 18 | fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/generics/gen_trait.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Null` is never constructed [INFO] [stdout] --> src/generics/gen_trait.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Null; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DoubleDrop` is never used [INFO] [stdout] --> src/generics/gen_trait.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait DoubleDrop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasArea` is never used [INFO] [stdout] --> src/generics/bounds.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait HasArea { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/generics/bounds.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_debug` is never used [INFO] [stdout] --> src/generics/bounds.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn print_debug(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `area` is never used [INFO] [stdout] --> src/generics/bounds.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn area(t: &T) -> f64 { t.area() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cardinal` is never constructed [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Cardinal; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlueJay` is never constructed [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct BlueJay; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Turkey` is never constructed [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Turkey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Red` is never used [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait Red {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Blue` is never used [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait Blue {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `red` is never used [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn red(_: &T) -> &'static str { "red" } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blue` is never used [INFO] [stdout] --> src/generics/bounds/testcase_empty.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn blue(_: &T) -> &'static str { "blue" } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_prints` is never used [INFO] [stdout] --> src/generics/multi_bounds.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn compare_prints(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_types` is never used [INFO] [stdout] --> src/generics/multi_bounds.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn compare_types(t: &T, u: &U) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TraitB` is never used [INFO] [stdout] --> src/generics/where.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait TraitB {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TraitC` is never used [INFO] [stdout] --> src/generics/where.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait TraitC {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TraitE` is never used [INFO] [stdout] --> src/generics/where.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait TraitE {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TraitF` is never used [INFO] [stdout] --> src/generics/where.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait TraitF {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/generics/where.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait MyTrait { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `YourType` is never constructed [INFO] [stdout] --> src/generics/where.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct YourType; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintInOption` is never used [INFO] [stdout] --> src/generics/where.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | trait PrintInOption { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Years` is never constructed [INFO] [stdout] --> src/generics/new_types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Years(i64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Days` is never constructed [INFO] [stdout] --> src/generics/new_types.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Days(i64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_days` is never used [INFO] [stdout] --> src/generics/new_types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Years { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 6 | pub fn to_days(&self) -> Days { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_years` is never used [INFO] [stdout] --> src/generics/new_types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Days { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 13 | /// truncates partial years [INFO] [stdout] 14 | pub fn to_years(&self) -> Years { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_enough` is never used [INFO] [stdout] --> src/generics/new_types.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn old_enough(age: &Years) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Container` is never constructed [INFO] [stdout] --> src/generics/assoc_items/the_problem.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Container(i32, i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Contains` is never used [INFO] [stdout] --> src/generics/assoc_items/the_problem.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Contains { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `difference` is never used [INFO] [stdout] --> src/generics/assoc_items/the_problem.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn difference(container: &C) -> i32 where [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Container` is never constructed [INFO] [stdout] --> src/generics/assoc_items/types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Container(i32, i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Contains` is never used [INFO] [stdout] --> src/generics/assoc_items/types.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Contains { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `difference` is never used [INFO] [stdout] --> src/generics/assoc_items/types.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn difference(container: &C) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhantomTuple` is never constructed [INFO] [stdout] --> src/generics/phantom.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct PhantomTuple(A, PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhantomStruct` is never constructed [INFO] [stdout] --> src/generics/phantom.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct PhantomStruct { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Inch` is never used [INFO] [stdout] --> src/generics/phantom/testcase_units.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Inch {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mm` is never used [INFO] [stdout] --> src/generics/phantom/testcase_units.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Mm {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hello_world/formatted_print.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | struct Structure(i32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hello_world/debug.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | struct Structure(i32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hello_world/debug.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | struct Deep(Structure); [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Deep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterator` is never used [INFO] [stdout] --> src/functions/closures/iter_any.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterator` is never used [INFO] [stdout] --> src/functions/closures/iter_find.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/custom_types/constants.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { assert_eq!("Rust", LANGUAGE); } [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/custom_types/constants.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { assert_eq!("rust", LANGUAGE); } [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "a05b3c04a74fda9c20abf61ae0f037973fa613cbecdc066daf7f233753ff4101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05b3c04a74fda9c20abf61ae0f037973fa613cbecdc066daf7f233753ff4101", kill_on_drop: false }` [INFO] [stdout] a05b3c04a74fda9c20abf61ae0f037973fa613cbecdc066daf7f233753ff4101