[INFO] cloning repository https://github.com/arpan-dhatt/concourse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arpan-dhatt/concourse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farpan-dhatt%2Fconcourse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farpan-dhatt%2Fconcourse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a9971c80ac7e61078cc5ead90d73bb5a667b0ce [INFO] checking arpan-dhatt/concourse/0a9971c80ac7e61078cc5ead90d73bb5a667b0ce against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farpan-dhatt%2Fconcourse" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arpan-dhatt/concourse on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arpan-dhatt/concourse [INFO] finished tweaking git repo https://github.com/arpan-dhatt/concourse [INFO] tweaked toml for git repo https://github.com/arpan-dhatt/concourse written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arpan-dhatt/concourse 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88cd4f7848aeff941de6083afbf9b8c13b37bed17c3ab9ccd6e9e706dc95e945 [INFO] running `Command { std: "docker" "start" "-a" "88cd4f7848aeff941de6083afbf9b8c13b37bed17c3ab9ccd6e9e706dc95e945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88cd4f7848aeff941de6083afbf9b8c13b37bed17c3ab9ccd6e9e706dc95e945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88cd4f7848aeff941de6083afbf9b8c13b37bed17c3ab9ccd6e9e706dc95e945", kill_on_drop: false }` [INFO] [stdout] 88cd4f7848aeff941de6083afbf9b8c13b37bed17c3ab9ccd6e9e706dc95e945 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56358c45e5fa12780f6db667b3fc800faf6e7a5789dc9015e1b34ea689999699 [INFO] running `Command { std: "docker" "start" "-a" "56358c45e5fa12780f6db667b3fc800faf6e7a5789dc9015e1b34ea689999699", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking svg-schedule v0.1.0 (/opt/rustwide/workdir/svg-schedule) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> svg-schedule/src/ui.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_command_text(mut doc: Document, text: &str) -> Document { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> svg-schedule/src/ui.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn render_name_text(mut doc: Document, name: &str) -> Document { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> svg-schedule/src/ui.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stroke_width` is never used [INFO] [stdout] --> svg-schedule/src/components.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn stroke_width(mut self, stroke_width: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stroke_linecap` is never used [INFO] [stdout] --> svg-schedule/src/components.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn stroke_linecap(mut self, stroke_linecap: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> svg-schedule/src/ui.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_command_text(mut doc: Document, text: &str) -> Document { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> svg-schedule/src/ui.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn render_name_text(mut doc: Document, name: &str) -> Document { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> svg-schedule/src/ui.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> svg-schedule/src/components.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 5 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | h: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | fill: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | stroke: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | stroke_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | corner_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> svg-schedule/src/components.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 30 | pub fn position(mut self, x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn size(mut self, w: f32, h: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn fill(mut self, fill: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn stroke(mut self, stroke: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn stroke_width(mut self, stroke_width: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn corner_radius(mut self, corner_radius: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn as_svg(&self) -> impl Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> svg-schedule/src/components.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | x1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 77 | y1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 78 | x2: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 79 | y2: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 80 | stroke: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | stroke_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 82 | stroke_linecap: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `place`, `stroke`, `stroke_width`, `stroke_linecap`, and `as_svg` are never used [INFO] [stdout] --> svg-schedule/src/components.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 100 | pub fn place(mut self, x1: f32, y1: f32, x2: f32, y2: f32) -> Line { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn stroke(mut self, stroke: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn stroke_width(mut self, stroke_width: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn stroke_linecap(mut self, stroke_linecap: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn as_svg(&self) -> impl Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> svg-schedule/src/components.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Text { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 136 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 137 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 138 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 139 | font_size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 140 | font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 141 | font_weight: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | fill: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 143 | text_anchor: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> svg-schedule/src/components.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl Text { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 162 | pub fn text(mut self, text: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn position(mut self, x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn font_size(mut self, font_size: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn font_family(mut self, font_family: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn fill(mut self, fill: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn text_anchor(mut self, text_anchor: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn font_weight(mut self, font_weight: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn as_svg(&self) -> impl Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIEWPORT_WIDTH` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VIEWPORT_WIDTH: f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIEWPORT_HEIGHT` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const VIEWPORT_HEIGHT: f32 = 900.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMAND_FONT_SIZE` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const COMMAND_FONT_SIZE: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_FONT_SIZE` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NAME_FONT_SIZE: i32 = 40; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PADDING` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const PADDING: f32 = 30.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAYS` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DAYS: [&str; 5] = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HORIZONTAL_INTERVAL` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const HORIZONTAL_INTERVAL: f32 = (VIEWPORT_WIDTH - PADDING * 2.0) / DAYS.len() as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `START_TIME` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const START_TIME: i32 = 480; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_TIME` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const END_TIME: i32 = 1260; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_INTERVAL` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TIME_INTERVAL: i32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_SEGMENT_AMOUNT` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TIME_SEGMENT_AMOUNT: i32 = (END_TIME - START_TIME) / TIME_INTERVAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICAL_INTERVAL` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const VERTICAL_INTERVAL: f32 = (VIEWPORT_HEIGHT - PADDING * 6.6) / TIME_SEGMENT_AMOUNT as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_command_text` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_command_text(mut doc: Document, text: &str) -> Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_name_text` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn render_name_text(mut doc: Document, name: &str) -> Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_weekday_texts` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render_weekday_texts(mut doc: Document) -> Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `weekday_text_element` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn weekday_text_element(s: &str, x: f32, y: f32) -> Text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_vertical_lines` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn render_vertical_lines(mut doc: Document) -> Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_horizontal_lines` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn render_horizontal_lines(mut doc: Document) -> Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassInformation` is never constructed [INFO] [stdout] --> svg-schedule/src/ui.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ClassInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_class` is never used [INFO] [stdout] --> svg-schedule/src/ui.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLORS` is never used [INFO] [stdout] --> svg-schedule/src/utils.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const COLORS: [&str; 18] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_color` is never used [INFO] [stdout] --> svg-schedule/src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn choose_color(s: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking concourse-discord-bot v0.1.0 (/opt/rustwide/workdir/concourse-discord-bot) [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | { sled::open(std::env::var("USERDB").unwrap_or("./user.db".to_string())).unwrap() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 53 - { sled::open(std::env::var("USERDB").unwrap_or("./user.db".to_string())).unwrap() }; [INFO] [stdout] 53 + sled::open(std::env::var("USERDB").unwrap_or("./user.db".to_string())).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | { sled::open(std::env::var("USERDB").unwrap_or("./user.db".to_string())).unwrap() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 53 - { sled::open(std::env::var("USERDB").unwrap_or("./user.db".to_string())).unwrap() }; [INFO] [stdout] 53 + sled::open(std::env::var("USERDB").unwrap_or("./user.db".to_string())).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | { sled::open(std::env::var("PRIVACYDB").unwrap_or("./privacy.db".to_string())).unwrap() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 55 - { sled::open(std::env::var("PRIVACYDB").unwrap_or("./privacy.db".to_string())).unwrap() }; [INFO] [stdout] 55 + sled::open(std::env::var("PRIVACYDB").unwrap_or("./privacy.db".to_string())).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | { sled::open(std::env::var("PRIVACYDB").unwrap_or("./privacy.db".to_string())).unwrap() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 55 - { sled::open(std::env::var("PRIVACYDB").unwrap_or("./privacy.db".to_string())).unwrap() }; [INFO] [stdout] 55 + sled::open(std::env::var("PRIVACYDB").unwrap_or("./privacy.db".to_string())).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `instruction_mode`, `instructor`, `status`, and `flags` are never read [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct CourseData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | code: i64, [INFO] [stdout] 32 | link: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | instruction_mode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | instructor: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CourseData` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `instruction_mode`, `instructor`, `status`, and `flags` are never read [INFO] [stdout] --> concourse-discord-bot/src/handlers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct CourseData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | code: i64, [INFO] [stdout] 32 | link: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | instruction_mode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | instructor: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CourseData` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "56358c45e5fa12780f6db667b3fc800faf6e7a5789dc9015e1b34ea689999699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56358c45e5fa12780f6db667b3fc800faf6e7a5789dc9015e1b34ea689999699", kill_on_drop: false }` [INFO] [stdout] 56358c45e5fa12780f6db667b3fc800faf6e7a5789dc9015e1b34ea689999699