[INFO] cloning repository https://github.com/GGCristo/interview_open_canarias [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GGCristo/interview_open_canarias" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGCristo%2Finterview_open_canarias", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGCristo%2Finterview_open_canarias'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab28324b4ddf9a4ca32f76a27279f0aadb7d68cc [INFO] checking GGCristo/interview_open_canarias against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGCristo%2Finterview_open_canarias" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GGCristo/interview_open_canarias on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GGCristo/interview_open_canarias [INFO] finished tweaking git repo https://github.com/GGCristo/interview_open_canarias [INFO] tweaked toml for git repo https://github.com/GGCristo/interview_open_canarias written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GGCristo/interview_open_canarias 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae5abe83b46b76add891d5fdddee522d69ee3b97ac8c1be174cb91fe001ada66 [INFO] running `Command { std: "docker" "start" "-a" "ae5abe83b46b76add891d5fdddee522d69ee3b97ac8c1be174cb91fe001ada66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae5abe83b46b76add891d5fdddee522d69ee3b97ac8c1be174cb91fe001ada66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5abe83b46b76add891d5fdddee522d69ee3b97ac8c1be174cb91fe001ada66", kill_on_drop: false }` [INFO] [stdout] ae5abe83b46b76add891d5fdddee522d69ee3b97ac8c1be174cb91fe001ada66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e8343d4d50a21a73162e9e1fc9566baba9d8536b73cde69d5bc715e35bbe3a1 [INFO] running `Command { std: "docker" "start" "-a" "3e8343d4d50a21a73162e9e1fc9566baba9d8536b73cde69d5bc715e35bbe3a1", kill_on_drop: false }` [INFO] [stderr] Checking queue_strategy v0.1.0 (/opt/rustwide/workdir/crates/queue_strategy) [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking interview_open_canarias v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/person/doctor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Specialty { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Allergist, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Anesthesiologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Cardiologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | Dermatologists, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Endocrinologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Hematologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | Internists, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Nephrologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | Oncologists, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Osteopaths, [INFO] [stdout] 13 | Pathologists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | Pediatricians, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Physiatrists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Specialty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SlightIllness` and `Critical` are never constructed [INFO] [stdout] --> src/person/patient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Good, [INFO] [stdout] 4 | SlightIllness, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | SeriousIllness, [INFO] [stdout] 6 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/registry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Registry> { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find` and `find_by_name` are never used [INFO] [stdout] --> src/registry.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl> Registry { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn find(&self, mrn: &MRN) -> Option<&Person> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn find_by_name(&self, name: &String) -> Vec<&Person> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/person/doctor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Specialty { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Allergist, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Anesthesiologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Cardiologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | Dermatologists, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Endocrinologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Hematologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | Internists, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Nephrologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | Oncologists, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Osteopaths, [INFO] [stdout] 13 | Pathologists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | Pediatricians, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Physiatrists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Specialty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SlightIllness` and `Critical` are never constructed [INFO] [stdout] --> src/person/patient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Good, [INFO] [stdout] 4 | SlightIllness, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | SeriousIllness, [INFO] [stdout] 6 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/registry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Registry> { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find` and `find_by_name` are never used [INFO] [stdout] --> src/registry.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl> Registry { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn find(&self, mrn: &MRN) -> Option<&Person> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn find_by_name(&self, name: &String) -> Vec<&Person> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "3e8343d4d50a21a73162e9e1fc9566baba9d8536b73cde69d5bc715e35bbe3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8343d4d50a21a73162e9e1fc9566baba9d8536b73cde69d5bc715e35bbe3a1", kill_on_drop: false }` [INFO] [stdout] 3e8343d4d50a21a73162e9e1fc9566baba9d8536b73cde69d5bc715e35bbe3a1 [INFO] checking GGCristo/interview_open_canarias against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGCristo%2Finterview_open_canarias" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GGCristo/interview_open_canarias on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GGCristo/interview_open_canarias [INFO] finished tweaking git repo https://github.com/GGCristo/interview_open_canarias [INFO] tweaked toml for git repo https://github.com/GGCristo/interview_open_canarias written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GGCristo/interview_open_canarias 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae1944b14837ebb1dac7b55d973b0739bac81d5515ea0a93d6c9acf57ab39de3 [INFO] running `Command { std: "docker" "start" "-a" "ae1944b14837ebb1dac7b55d973b0739bac81d5515ea0a93d6c9acf57ab39de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae1944b14837ebb1dac7b55d973b0739bac81d5515ea0a93d6c9acf57ab39de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1944b14837ebb1dac7b55d973b0739bac81d5515ea0a93d6c9acf57ab39de3", kill_on_drop: false }` [INFO] [stdout] ae1944b14837ebb1dac7b55d973b0739bac81d5515ea0a93d6c9acf57ab39de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b74d5481b52a94b216c44980e21297db353fc2e892537cb8341706f8a093d28 [INFO] running `Command { std: "docker" "start" "-a" "3b74d5481b52a94b216c44980e21297db353fc2e892537cb8341706f8a093d28", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking queue_strategy v0.1.0 (/opt/rustwide/workdir/crates/queue_strategy) [INFO] [stderr] Checking interview_open_canarias v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/person/doctor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Specialty { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Allergist, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Anesthesiologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Cardiologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | Dermatologists, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Endocrinologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Hematologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | Internists, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Nephrologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | Oncologists, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Osteopaths, [INFO] [stdout] 13 | Pathologists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | Pediatricians, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Physiatrists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Specialty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SlightIllness` and `Critical` are never constructed [INFO] [stdout] --> src/person/patient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Good, [INFO] [stdout] 4 | SlightIllness, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | SeriousIllness, [INFO] [stdout] 6 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/registry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Registry> { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find` and `find_by_name` are never used [INFO] [stdout] --> src/registry.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl> Registry { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn find(&self, mrn: &MRN) -> Option<&Person> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn find_by_name(&self, name: &String) -> Vec<&Person> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/person/doctor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Specialty { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Allergist, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Anesthesiologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Cardiologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | Dermatologists, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Endocrinologists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Hematologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | Internists, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Nephrologists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | Oncologists, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Osteopaths, [INFO] [stdout] 13 | Pathologists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | Pediatricians, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Physiatrists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Specialty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SlightIllness` and `Critical` are never constructed [INFO] [stdout] --> src/person/patient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Good, [INFO] [stdout] 4 | SlightIllness, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | SeriousIllness, [INFO] [stdout] 6 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/registry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Registry> { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find` and `find_by_name` are never used [INFO] [stdout] --> src/registry.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl> Registry { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn find(&self, mrn: &MRN) -> Option<&Person> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn find_by_name(&self, name: &String) -> Vec<&Person> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "3b74d5481b52a94b216c44980e21297db353fc2e892537cb8341706f8a093d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b74d5481b52a94b216c44980e21297db353fc2e892537cb8341706f8a093d28", kill_on_drop: false }` [INFO] [stdout] 3b74d5481b52a94b216c44980e21297db353fc2e892537cb8341706f8a093d28