[INFO] cloning repository https://github.com/ax3l/lines-are-rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ax3l/lines-are-rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fax3l%2Flines-are-rusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fax3l%2Flines-are-rusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc6b33f560147c88ad5970c99a29cecf906693c6 [INFO] checking ax3l/lines-are-rusty/bc6b33f560147c88ad5970c99a29cecf906693c6 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%2Fax3l%2Flines-are-rusty" "/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/ax3l/lines-are-rusty 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/ax3l/lines-are-rusty [INFO] finished tweaking git repo https://github.com/ax3l/lines-are-rusty [INFO] tweaked toml for git repo https://github.com/ax3l/lines-are-rusty written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ax3l/lines-are-rusty 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] 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] 0d97531c9f25f5d8dc8907e43d27aa86f15da64fd297440594f72da09a209d33 [INFO] running `Command { std: "docker" "start" "-a" "0d97531c9f25f5d8dc8907e43d27aa86f15da64fd297440594f72da09a209d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d97531c9f25f5d8dc8907e43d27aa86f15da64fd297440594f72da09a209d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d97531c9f25f5d8dc8907e43d27aa86f15da64fd297440594f72da09a209d33", kill_on_drop: false }` [INFO] [stdout] 0d97531c9f25f5d8dc8907e43d27aa86f15da64fd297440594f72da09a209d33 [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] e714fc29dba4df1f8daa33c18f69cbaaefa8f037dcb9455801b8a731927c0a4a [INFO] running `Command { std: "docker" "start" "-a" "e714fc29dba4df1f8daa33c18f69cbaaefa8f037dcb9455801b8a731927c0a4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling pdf-canvas v0.6.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking phf v0.10.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking lines-are-rusty v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `segment_length`, `length`, and `average_width` are never used [INFO] [stdout] --> src/lib.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 155 | fn segment_length(&self, i: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn average_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/lib.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 248 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 249 | fn distance(&self, point: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ZERO` is never used [INFO] [stdout] --> src/lib.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 295 | impl DirectionVec { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] 296 | const ZERO: DirectionVec = DirectionVec { x: 0.0, y: 0.0 }; [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] --> src/render/svg.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 200 | fn add_debug_style(svg: svg::node::element::SVG) -> svg::node::element::SVG { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | svg.add(svg::node::element::Style::new( [INFO] [stdout] | _____________^ [INFO] [stdout] 202 | | r#" [INFO] [stdout] 203 | | path:hover { [INFO] [stdout] 204 | | filter: drop-shadow(0 0 5px #e00); [INFO] [stdout] ... | [INFO] [stdout] 207 | | "#, [INFO] [stdout] 208 | | )) [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 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lines-are-rusty` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `segment_length`, `length`, `average_width`, `offsets`, and `with_points` are never used [INFO] [stdout] --> src/lib.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 155 | fn segment_length(&self, i: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn average_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn offsets(&self, offset_distance: f32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn with_points(template: Point, points: &[(f32, f32)]) -> Line { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/lib.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 248 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 249 | fn distance(&self, point: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ZERO`, `set_length`, and `rotate_orthogonally` are never used [INFO] [stdout] --> src/lib.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 295 | impl DirectionVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 296 | const ZERO: DirectionVec = DirectionVec { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | fn set_length(mut self, length: f32) -> DirectionVec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn rotate_orthogonally(mut self) -> DirectionVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segment_quads` is never used [INFO] [stdout] --> src/render/renderlib.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn segment_quads(line: &Line) -> Vec { [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] --> src/render/svg.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 200 | fn add_debug_style(svg: svg::node::element::SVG) -> svg::node::element::SVG { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | svg.add(svg::node::element::Style::new( [INFO] [stdout] | _____________^ [INFO] [stdout] 202 | | r#" [INFO] [stdout] 203 | | path:hover { [INFO] [stdout] 204 | | filter: drop-shadow(0 0 5px #e00); [INFO] [stdout] ... | [INFO] [stdout] 207 | | "#, [INFO] [stdout] 208 | | )) [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 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lines-are-rusty` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e714fc29dba4df1f8daa33c18f69cbaaefa8f037dcb9455801b8a731927c0a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e714fc29dba4df1f8daa33c18f69cbaaefa8f037dcb9455801b8a731927c0a4a", kill_on_drop: false }` [INFO] [stdout] e714fc29dba4df1f8daa33c18f69cbaaefa8f037dcb9455801b8a731927c0a4a