[INFO] cloning repository https://github.com/ComputerScienceHouse/rit-sis-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ComputerScienceHouse/rit-sis-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComputerScienceHouse%2Frit-sis-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComputerScienceHouse%2Frit-sis-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf5f1daf18c26c15f7ea96562622c56ca768c9a2 [INFO] checking ComputerScienceHouse/rit-sis-parser against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComputerScienceHouse%2Frit-sis-parser" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ComputerScienceHouse/rit-sis-parser on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ComputerScienceHouse/rit-sis-parser [INFO] finished tweaking git repo https://github.com/ComputerScienceHouse/rit-sis-parser [INFO] tweaked toml for git repo https://github.com/ComputerScienceHouse/rit-sis-parser written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ComputerScienceHouse/rit-sis-parser 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.2 [INFO] [stderr] Downloaded serde v1.0.99 [INFO] [stderr] Downloaded serde_derive v1.0.99 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76b1827ef9966bb61d5a0ca457f20fcde3e51a0c868ab20acf30e7a6846c0dde [INFO] running `Command { std: "docker" "start" "-a" "76b1827ef9966bb61d5a0ca457f20fcde3e51a0c868ab20acf30e7a6846c0dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76b1827ef9966bb61d5a0ca457f20fcde3e51a0c868ab20acf30e7a6846c0dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76b1827ef9966bb61d5a0ca457f20fcde3e51a0c868ab20acf30e7a6846c0dde", kill_on_drop: false }` [INFO] [stdout] 76b1827ef9966bb61d5a0ca457f20fcde3e51a0c868ab20acf30e7a6846c0dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79fa239cd3609b77d50333344ab7814b70e75e75606c7c5b99f1f610283ed6ad [INFO] running `Command { std: "docker" "start" "-a" "79fa239cd3609b77d50333344ab7814b70e75e75606c7c5b99f1f610283ed6ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking rit-sis-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClassRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | subject: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | catalog_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | class_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | ssr_component: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | units: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | enrollment_status: EnrollmentStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | class_status: ClassStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | class_type: char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | schedule_print: SchedulePrint, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | enrollment_capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | enrollment_total: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | institution: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | academic_org: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | academic_group: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | academic_career: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | instruction_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | course_description_long: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassRecord` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MeetingRecord { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | start_date: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | end_date: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | building: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | room_number: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | meeting_time_start: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | meeting_time_end: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | monday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 84 | tuesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | wednesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | thursday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | friday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | saturday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | sunday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeetingRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct InstructorRecord { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 104 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructorRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/dat.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClassRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | subject: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | catalog_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | class_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | ssr_component: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | units: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | enrollment_status: EnrollmentStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | class_status: ClassStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | class_type: char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | schedule_print: SchedulePrint, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | enrollment_capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | enrollment_total: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | institution: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | academic_org: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | academic_group: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | academic_career: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | instruction_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | course_description_long: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassRecord` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MeetingRecord { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | start_date: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | end_date: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | building: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | room_number: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | meeting_time_start: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | meeting_time_end: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | monday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 84 | tuesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | wednesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | thursday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | friday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | saturday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | sunday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeetingRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct InstructorRecord { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 104 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructorRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/dat.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/main.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | }; [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/bin/main.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.19s [INFO] running `Command { std: "docker" "inspect" "79fa239cd3609b77d50333344ab7814b70e75e75606c7c5b99f1f610283ed6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fa239cd3609b77d50333344ab7814b70e75e75606c7c5b99f1f610283ed6ad", kill_on_drop: false }` [INFO] [stdout] 79fa239cd3609b77d50333344ab7814b70e75e75606c7c5b99f1f610283ed6ad [INFO] checking ComputerScienceHouse/rit-sis-parser against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComputerScienceHouse%2Frit-sis-parser" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ComputerScienceHouse/rit-sis-parser on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ComputerScienceHouse/rit-sis-parser [INFO] finished tweaking git repo https://github.com/ComputerScienceHouse/rit-sis-parser [INFO] tweaked toml for git repo https://github.com/ComputerScienceHouse/rit-sis-parser written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ComputerScienceHouse/rit-sis-parser 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd8223d9d8afb6dfc1363b799a904742e1a2c3c7610d476af9b74d7e5880fb28 [INFO] running `Command { std: "docker" "start" "-a" "cd8223d9d8afb6dfc1363b799a904742e1a2c3c7610d476af9b74d7e5880fb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd8223d9d8afb6dfc1363b799a904742e1a2c3c7610d476af9b74d7e5880fb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8223d9d8afb6dfc1363b799a904742e1a2c3c7610d476af9b74d7e5880fb28", kill_on_drop: false }` [INFO] [stdout] cd8223d9d8afb6dfc1363b799a904742e1a2c3c7610d476af9b74d7e5880fb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 682104d541ce040fa0c31560bc03601b1b62d8a8b1d487eea9c7041e541c58a0 [INFO] running `Command { std: "docker" "start" "-a" "682104d541ce040fa0c31560bc03601b1b62d8a8b1d487eea9c7041e541c58a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking rit-sis-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClassRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | subject: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | catalog_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | class_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | ssr_component: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | units: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | enrollment_status: EnrollmentStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | class_status: ClassStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | class_type: char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | schedule_print: SchedulePrint, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | enrollment_capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | enrollment_total: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | institution: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | academic_org: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | academic_group: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | academic_career: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | instruction_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | course_description_long: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassRecord` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MeetingRecord { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | start_date: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | end_date: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | building: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | room_number: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | meeting_time_start: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | meeting_time_end: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | monday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 84 | tuesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | wednesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | thursday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | friday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | saturday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | sunday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeetingRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct InstructorRecord { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 104 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructorRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/dat.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ClassRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ClassStatus` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_EnrollmentStatus` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SchedulePrint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MeetingRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_WeekdayScheduled` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_InstructorRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rit-sis-parser` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClassRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | subject: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | catalog_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | class_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | ssr_component: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | units: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | enrollment_status: EnrollmentStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | class_status: ClassStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | class_type: char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | schedule_print: SchedulePrint, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | enrollment_capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | enrollment_total: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | institution: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | academic_org: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | academic_group: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | academic_career: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | instruction_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | course_description_long: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassRecord` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MeetingRecord { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | start_date: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | end_date: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | building: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | room_number: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | meeting_time_start: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | meeting_time_end: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | monday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 84 | tuesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | wednesday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | thursday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 87 | friday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | saturday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | sunday: WeekdayScheduled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeetingRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct InstructorRecord { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 104 | course_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | course_offer_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | strm: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | session_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | class_section: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | class_meeting_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructorRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/dat.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = std::mem::replace(&mut self.record_cursor, string_buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ClassRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ClassStatus` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_EnrollmentStatus` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SchedulePrint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MeetingRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_WeekdayScheduled` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/model.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_InstructorRecord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rit-sis-parser` (lib) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "682104d541ce040fa0c31560bc03601b1b62d8a8b1d487eea9c7041e541c58a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682104d541ce040fa0c31560bc03601b1b62d8a8b1d487eea9c7041e541c58a0", kill_on_drop: false }` [INFO] [stdout] 682104d541ce040fa0c31560bc03601b1b62d8a8b1d487eea9c7041e541c58a0