[INFO] cloning repository https://github.com/griffi-gh/wsb-ical-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/griffi-gh/wsb-ical-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffi-gh%2Fwsb-ical-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffi-gh%2Fwsb-ical-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9204ded39916c2e8688955bd29f5ea2e6d435f1e [INFO] building griffi-gh/wsb-ical-service against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffi-gh%2Fwsb-ical-service" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/griffi-gh/wsb-ical-service [INFO] finished tweaking git repo https://github.com/griffi-gh/wsb-ical-service [INFO] tweaked toml for git repo https://github.com/griffi-gh/wsb-ical-service written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/griffi-gh/wsb-ical-service on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/griffi-gh/wsb-ical-service 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dtoa-short v0.3.4 [INFO] [stderr] Downloaded scraper v0.19.0 [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded iso8601 v0.6.1 [INFO] [stderr] Downloaded hashlink v0.9.0 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded icalendar v0.16.0 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded warp v0.3.6 [INFO] [stderr] Downloaded reqwest v0.12.2 [INFO] [stderr] Downloaded chrono v0.4.37 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b098bbd0e77e7d5f5c5281ccf42f42a468cc547069184c7e0542ff8f2407125 [INFO] running `Command { std: "docker" "start" "-a" "2b098bbd0e77e7d5f5c5281ccf42f42a468cc547069184c7e0542ff8f2407125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b098bbd0e77e7d5f5c5281ccf42f42a468cc547069184c7e0542ff8f2407125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b098bbd0e77e7d5f5c5281ccf42f42a468cc547069184c7e0542ff8f2407125", kill_on_drop: false }` [INFO] [stdout] 2b098bbd0e77e7d5f5c5281ccf42f42a468cc547069184c7e0542ff8f2407125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e6502372e5b7dd662216e6954ba13af8bdd9c062f768821e1ddd6371bbb0b83 [INFO] running `Command { std: "docker" "start" "-a" "0e6502372e5b7dd662216e6954ba13af8bdd9c062f768821e1ddd6371bbb0b83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling hashlink v0.9.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling iso8601 v0.6.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling icalendar v0.16.0 [INFO] [stderr] Compiling h2 v0.4.3 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.2 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling wsb-ical-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `name`, and `name_eng` are never read [INFO] [stdout] --> src/api/schedule.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Semester { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub name_eng: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name_eng` are never read [INFO] [stdout] --> src/api/schedule.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Subject { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] 15 | pub name_eng: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `name_eng`, `type_id`, and `code` are never read [INFO] [stdout] --> src/api/schedule.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Form { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub name_eng: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | #[serde(rename = "type")] [INFO] [stdout] 24 | pub type_id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub code: char, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `email`, and `absent` are never read [INFO] [stdout] --> src/api/schedule.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Lecturer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 30 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] 32 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub absent: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/schedule.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | pub classroom: String, [INFO] [stdout] 43 | pub building_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub building_code: char, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub postal_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/schedule.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 56 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | pub school: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | pub semester: Semester, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub academic_year: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub subject: Subject, [INFO] [stdout] 61 | pub form: Form, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub lessons_hours: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | pub locations: Vec, [INFO] [stdout] 69 | pub cancelled: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub hours_to_date: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub hours_total: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub moved_from: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | pub moved_to: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | #[serde(deserialize_with = "deserialize_time_option")] [INFO] [stdout] 77 | pub moved_to_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "0e6502372e5b7dd662216e6954ba13af8bdd9c062f768821e1ddd6371bbb0b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6502372e5b7dd662216e6954ba13af8bdd9c062f768821e1ddd6371bbb0b83", kill_on_drop: false }` [INFO] [stdout] 0e6502372e5b7dd662216e6954ba13af8bdd9c062f768821e1ddd6371bbb0b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e83337e2af9a522b9c2fd7cce51361dcaeead3e6a5bab3549311d69eefaaaf32 [INFO] running `Command { std: "docker" "start" "-a" "e83337e2af9a522b9c2fd7cce51361dcaeead3e6a5bab3549311d69eefaaaf32", kill_on_drop: false }` [INFO] [stderr] Compiling wsb-ical-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `name`, and `name_eng` are never read [INFO] [stdout] --> src/api/schedule.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Semester { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub name_eng: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name_eng` are never read [INFO] [stdout] --> src/api/schedule.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Subject { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] 15 | pub name_eng: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `name_eng`, `type_id`, and `code` are never read [INFO] [stdout] --> src/api/schedule.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Form { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub name_eng: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | #[serde(rename = "type")] [INFO] [stdout] 24 | pub type_id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub code: char, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `email`, and `absent` are never read [INFO] [stdout] --> src/api/schedule.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Lecturer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 30 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] 32 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub absent: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/schedule.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | pub classroom: String, [INFO] [stdout] 43 | pub building_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub building_code: char, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub postal_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | pub lat: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | pub lon: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/schedule.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 56 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | pub school: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | pub semester: Semester, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub academic_year: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub subject: Subject, [INFO] [stdout] 61 | pub form: Form, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub lessons_hours: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | pub locations: Vec, [INFO] [stdout] 69 | pub cancelled: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub hours_to_date: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub hours_total: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub moved_from: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | pub moved_to: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | #[serde(deserialize_with = "deserialize_time_option")] [INFO] [stdout] 77 | pub moved_to_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "e83337e2af9a522b9c2fd7cce51361dcaeead3e6a5bab3549311d69eefaaaf32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83337e2af9a522b9c2fd7cce51361dcaeead3e6a5bab3549311d69eefaaaf32", kill_on_drop: false }` [INFO] [stdout] e83337e2af9a522b9c2fd7cce51361dcaeead3e6a5bab3549311d69eefaaaf32