[INFO] cloning repository https://github.com/teruuuuuu/TicketModelingRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teruuuuuu/TicketModelingRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteruuuuuu%2FTicketModelingRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteruuuuuu%2FTicketModelingRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c66b87ea22b9461d438da1d505918bbe36388df0 [INFO] checking teruuuuuu/TicketModelingRust against master#0f442e265c165c0a78633bef98de18517815150c for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteruuuuuu%2FTicketModelingRust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teruuuuuu/TicketModelingRust on toolchain 0f442e265c165c0a78633bef98de18517815150c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f442e265c165c0a78633bef98de18517815150c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teruuuuuu/TicketModelingRust [INFO] finished tweaking git repo https://github.com/teruuuuuu/TicketModelingRust [INFO] tweaked toml for git repo https://github.com/teruuuuuu/TicketModelingRust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/teruuuuuu/TicketModelingRust 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" "+0f442e265c165c0a78633bef98de18517815150c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking teruuuuuu/TicketModelingRust against try#774bd5ba31b89dab12d58c29690ad9f7e5c9f063 for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteruuuuuu%2FTicketModelingRust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teruuuuuu/TicketModelingRust on toolchain 774bd5ba31b89dab12d58c29690ad9f7e5c9f063 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teruuuuuu/TicketModelingRust [INFO] finished tweaking git repo https://github.com/teruuuuuu/TicketModelingRust [INFO] tweaked toml for git repo https://github.com/teruuuuuu/TicketModelingRust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/teruuuuuu/TicketModelingRust 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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 294df392c3a668184b8c348cd92169075e9550f669b5d6049ee022f5bfa1e15d [INFO] running `Command { std: "docker" "start" "-a" "294df392c3a668184b8c348cd92169075e9550f669b5d6049ee022f5bfa1e15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "294df392c3a668184b8c348cd92169075e9550f669b5d6049ee022f5bfa1e15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294df392c3a668184b8c348cd92169075e9550f669b5d6049ee022f5bfa1e15d", kill_on_drop: false }` [INFO] [stdout] 294df392c3a668184b8c348cd92169075e9550f669b5d6049ee022f5bfa1e15d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1657fcecd0c87bd45acae5c4cd455e1bc7bf2968a5e24686f515d5504aabff0 [INFO] running `Command { std: "docker" "start" "-a" "a1657fcecd0c87bd45acae5c4cd455e1bc7bf2968a5e24686f515d5504aabff0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking ticket_modeling_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Date` and `Local` [INFO] [stdout] --> src/ticket/movie_day_specification.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, Local}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LateSpecification` [INFO] [stdout] --> src/ticket/plans.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use super::late_specification::{LateSpec8, LateSpecification}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Specification` [INFO] [stdout] --> src/ticket/plans.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::specification::{Spec, Specification}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Customer`, `DateFromStr`, `Gender`, `Identification`, `LocalDateTime`, and `LocalDate` [INFO] [stdout] --> src/ticket/plans.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use super::structs::{Customer, DateFromStr, Gender, Identification, LocalDate, LocalDateTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlanCondition` [INFO] [stdout] --> src/ticket/plans.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use super::structs::{Plan, PlanCondition, PlanName}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ticket/plans.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ticket/plans.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ticket/plans.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/ticket/plans.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Date` and `Local` [INFO] [stdout] --> src/ticket/movie_day_specification.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, Local}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LateSpecification` [INFO] [stdout] --> src/ticket/plans.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use super::late_specification::{LateSpec8, LateSpecification}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Specification` [INFO] [stdout] --> src/ticket/plans.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::specification::{Spec, Specification}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Customer`, `DateFromStr`, `Gender`, `Identification`, `LocalDateTime`, and `LocalDate` [INFO] [stdout] --> src/ticket/plans.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use super::structs::{Customer, DateFromStr, Gender, Identification, LocalDate, LocalDateTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlanCondition` [INFO] [stdout] --> src/ticket/plans.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use super::structs::{Plan, PlanCondition, PlanName}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ticket/plans.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ticket/plans.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ticket/plans.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/ticket/plans.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ticket/customer_specification.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => false, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/ticket/customer_specification.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 17 | CustomerSpec::CinematicCitizen => is_cinema_citizen(customer), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 18 | CustomerSpec::CinemaCitizenSenior => is_cinema_citizen_senior(customer), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 19 | CustomerSpec::Senior => is_senior(customer), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 20 | CustomerSpec::UniversityStudent => is_university_student(customer), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 21 | CustomerSpec::HighSchoolStudent => is_high_school_student(customer), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 22 | CustomerSpec::ElementarySchoolStudent => is_elementary_school_student(customer), [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] 23 | CustomerSpec::General => is_general(customer), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 24 | _ => false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ticket/structs.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ => "", [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/ticket/structs.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 36 | PlanName::CinemaCitizen => "シネマシティズン", [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 37 | PlanName::CinemaCitizenSenior => "シネマシティズン(60才以上)", [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 38 | PlanName::General => "一般", [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 39 | PlanName::Senior => "シニア(70才以上)", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 40 | PlanName::UniversityStudent => "学生(大・専)", [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 41 | PlanName::HighSchoolStudent => "中・高校生", [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 42 | PlanName::ElementaryStudent => "小学生", [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 43 | _ => "", [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElementarySchoolStudent` is never constructed [INFO] [stdout] --> src/ticket/customer_specification.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CustomerSpec { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | ElementarySchoolStudent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MovieDaySpec` is never used [INFO] [stdout] --> src/ticket/movie_day_specification.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MovieDaySpec: MovieDaySpecification = MovieDaySpecification {}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LateSpec8` should have an upper case name [INFO] [stdout] --> src/ticket/late_specification.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LateSpec8: LateSpecification = LateSpecification { start_hour: 20 }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `LATE_SPEC8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MovieDaySpec` should have an upper case name [INFO] [stdout] --> src/ticket/movie_day_specification.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MovieDaySpec: MovieDaySpecification = MovieDaySpecification {}; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MOVIE_DAY_SPEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `all_plans` should have an upper case name [INFO] [stdout] --> src/ticket/plans.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub static ref all_plans: Vec = { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ALL_PLANS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ticket/customer_specification.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => false, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/ticket/customer_specification.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 17 | CustomerSpec::CinematicCitizen => is_cinema_citizen(customer), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 18 | CustomerSpec::CinemaCitizenSenior => is_cinema_citizen_senior(customer), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 19 | CustomerSpec::Senior => is_senior(customer), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 20 | CustomerSpec::UniversityStudent => is_university_student(customer), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 21 | CustomerSpec::HighSchoolStudent => is_high_school_student(customer), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 22 | CustomerSpec::ElementarySchoolStudent => is_elementary_school_student(customer), [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] 23 | CustomerSpec::General => is_general(customer), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 24 | _ => false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ticket/structs.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ => "", [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/ticket/structs.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 36 | PlanName::CinemaCitizen => "シネマシティズン", [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 37 | PlanName::CinemaCitizenSenior => "シネマシティズン(60才以上)", [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 38 | PlanName::General => "一般", [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 39 | PlanName::Senior => "シニア(70才以上)", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 40 | PlanName::UniversityStudent => "学生(大・専)", [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 41 | PlanName::HighSchoolStudent => "中・高校生", [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 42 | PlanName::ElementaryStudent => "小学生", [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 43 | _ => "", [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElementarySchoolStudent` is never constructed [INFO] [stdout] --> src/ticket/customer_specification.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CustomerSpec { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | ElementarySchoolStudent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LateSpec8` should have an upper case name [INFO] [stdout] --> src/ticket/late_specification.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LateSpec8: LateSpecification = LateSpecification { start_hour: 20 }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `LATE_SPEC8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MovieDaySpec` should have an upper case name [INFO] [stdout] --> src/ticket/movie_day_specification.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MovieDaySpec: MovieDaySpecification = MovieDaySpecification {}; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MOVIE_DAY_SPEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `all_plans` should have an upper case name [INFO] [stdout] --> src/ticket/plans.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub static ref all_plans: Vec = { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ALL_PLANS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "a1657fcecd0c87bd45acae5c4cd455e1bc7bf2968a5e24686f515d5504aabff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1657fcecd0c87bd45acae5c4cd455e1bc7bf2968a5e24686f515d5504aabff0", kill_on_drop: false }` [INFO] [stdout] a1657fcecd0c87bd45acae5c4cd455e1bc7bf2968a5e24686f515d5504aabff0