[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] building GGCristo/interview_open_canarias against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGCristo%2Finterview_open_canarias" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GGCristo/interview_open_canarias on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbedf5f429cd508d5ca0c3be0d446933d4e52ea2b8c03c3c9a5194fc701b0967 [INFO] running `Command { std: "docker" "start" "-a" "fbedf5f429cd508d5ca0c3be0d446933d4e52ea2b8c03c3c9a5194fc701b0967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbedf5f429cd508d5ca0c3be0d446933d4e52ea2b8c03c3c9a5194fc701b0967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbedf5f429cd508d5ca0c3be0d446933d4e52ea2b8c03c3c9a5194fc701b0967", kill_on_drop: false }` [INFO] [stdout] fbedf5f429cd508d5ca0c3be0d446933d4e52ea2b8c03c3c9a5194fc701b0967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7a4fff7576fb87af21e84c28dab0c1975b3eb125ef29d8d8219ab31229a4930 [INFO] running `Command { std: "docker" "start" "-a" "c7a4fff7576fb87af21e84c28dab0c1975b3eb125ef29d8d8219ab31229a4930", kill_on_drop: false }` [INFO] [stderr] Compiling queue_strategy v0.1.0 (/opt/rustwide/workdir/crates/queue_strategy) [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "c7a4fff7576fb87af21e84c28dab0c1975b3eb125ef29d8d8219ab31229a4930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a4fff7576fb87af21e84c28dab0c1975b3eb125ef29d8d8219ab31229a4930", kill_on_drop: false }` [INFO] [stdout] c7a4fff7576fb87af21e84c28dab0c1975b3eb125ef29d8d8219ab31229a4930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b16fceea171bb6d8f378f45a5d03ae3c6a70d658d2b8001ea2499a866b5e7280 [INFO] running `Command { std: "docker" "start" "-a" "b16fceea171bb6d8f378f45a5d03ae3c6a70d658d2b8001ea2499a866b5e7280", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "b16fceea171bb6d8f378f45a5d03ae3c6a70d658d2b8001ea2499a866b5e7280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16fceea171bb6d8f378f45a5d03ae3c6a70d658d2b8001ea2499a866b5e7280", kill_on_drop: false }` [INFO] [stdout] b16fceea171bb6d8f378f45a5d03ae3c6a70d658d2b8001ea2499a866b5e7280