[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 try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arpan-dhatt/concourse on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e01baeb8871dc038e00d6af58e5fb43e5da84ee32bac4ec119ecdd806662c08 [INFO] running `Command { std: "docker" "start" "-a" "2e01baeb8871dc038e00d6af58e5fb43e5da84ee32bac4ec119ecdd806662c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e01baeb8871dc038e00d6af58e5fb43e5da84ee32bac4ec119ecdd806662c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e01baeb8871dc038e00d6af58e5fb43e5da84ee32bac4ec119ecdd806662c08", kill_on_drop: false }` [INFO] [stdout] 2e01baeb8871dc038e00d6af58e5fb43e5da84ee32bac4ec119ecdd806662c08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a1c08586ee5959aa49f9e26cf52589c1bc6ff0e4e8e64cb2a4a6d82467a7787 [INFO] running `Command { std: "docker" "start" "-a" "0a1c08586ee5959aa49f9e26cf52589c1bc6ff0e4e8e64cb2a4a6d82467a7787", 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 once_cell v1.8.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [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] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tinyvec v1.3.1 [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] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking adler v1.0.2 [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 flate2 v1.0.21 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking idna v0.2.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 svg-schedule v0.1.0 (/opt/rustwide/workdir/svg-schedule) [INFO] [stderr] Checking url v2.2.2 [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: 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: 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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_command_text(mut doc: Document, text: &str) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | doc.add( [INFO] [stdout] 23 | / Text::default() [INFO] [stdout] 24 | | .position(PADDING, PADDING + COMMAND_FONT_SIZE as f32) [INFO] [stdout] 25 | | .font_family("monospace") [INFO] [stdout] 26 | | .font_size(COMMAND_FONT_SIZE) [INFO] [stdout] 27 | | .text(text) [INFO] [stdout] 28 | | .as_svg(), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn render_name_text(mut doc: Document, name: &str) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | doc.add( [INFO] [stdout] 34 | / Text::default() [INFO] [stdout] 35 | | .position(PADDING, PADDING * 3.0) [INFO] [stdout] 36 | | .font_size(NAME_FONT_SIZE) [INFO] [stdout] 37 | | .text(name) [INFO] [stdout] 38 | | .as_svg(), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | / doc.add( [INFO] [stdout] 148 | | Rectangle::default() [INFO] [stdout] 149 | | .position(position.0, position.1) [INFO] [stdout] 150 | | .size(size.0, size.1) [INFO] [stdout] ... | [INFO] [stdout] 191 | | .as_svg(), [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | / Text::default() [INFO] [stdout] 195 | | .text(&class_info.room.as_ref().unwrap_or(&("–".to_string()))) [INFO] [stdout] 196 | | .fill("white") [INFO] [stdout] 197 | | .font_size(CLASS_FONT_SIZE) [INFO] [stdout] ... | [INFO] [stdout] 203 | | .font_weight("bold") [INFO] [stdout] 204 | | .as_svg(), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn render_command_text(mut doc: Document, text: &str) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | doc.add( [INFO] [stdout] 23 | / Text::default() [INFO] [stdout] 24 | | .position(PADDING, PADDING + COMMAND_FONT_SIZE as f32) [INFO] [stdout] 25 | | .font_family("monospace") [INFO] [stdout] 26 | | .font_size(COMMAND_FONT_SIZE) [INFO] [stdout] 27 | | .text(text) [INFO] [stdout] 28 | | .as_svg(), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn render_name_text(mut doc: Document, name: &str) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | doc.add( [INFO] [stdout] 34 | / Text::default() [INFO] [stdout] 35 | | .position(PADDING, PADDING * 3.0) [INFO] [stdout] 36 | | .font_size(NAME_FONT_SIZE) [INFO] [stdout] 37 | | .text(name) [INFO] [stdout] 38 | | .as_svg(), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | / doc.add( [INFO] [stdout] 148 | | Rectangle::default() [INFO] [stdout] 149 | | .position(position.0, position.1) [INFO] [stdout] 150 | | .size(size.0, size.1) [INFO] [stdout] ... | [INFO] [stdout] 191 | | .as_svg(), [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> svg-schedule/src/ui.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn render_class(class_info: ClassInformation, mut doc: Document) -> Document { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | / Text::default() [INFO] [stdout] 195 | | .text(&class_info.room.as_ref().unwrap_or(&("–".to_string()))) [INFO] [stdout] 196 | | .fill("white") [INFO] [stdout] 197 | | .font_size(CLASS_FONT_SIZE) [INFO] [stdout] ... | [INFO] [stdout] 203 | | .font_weight("bold") [INFO] [stdout] 204 | | .as_svg(), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `svg-schedule` (lib test) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `svg-schedule` (lib) due to 5 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a1c08586ee5959aa49f9e26cf52589c1bc6ff0e4e8e64cb2a4a6d82467a7787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1c08586ee5959aa49f9e26cf52589c1bc6ff0e4e8e64cb2a4a6d82467a7787", kill_on_drop: false }` [INFO] [stdout] 0a1c08586ee5959aa49f9e26cf52589c1bc6ff0e4e8e64cb2a4a6d82467a7787