[INFO] cloning repository https://github.com/hsabouri/pancake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hsabouri/pancake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsabouri%2Fpancake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsabouri%2Fpancake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fc6db4e17e2973bf1ce38d35c82d8a7b728205f [INFO] checking hsabouri/pancake against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsabouri%2Fpancake" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsabouri/pancake on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hsabouri/pancake [INFO] finished tweaking git repo https://github.com/hsabouri/pancake [INFO] tweaked toml for git repo https://github.com/hsabouri/pancake written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hsabouri/pancake 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/hsabouri/stl_io` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c507395cbb1e04b692104e391e2df3aae24e3c3cef7e05b57b074c843ba1336 [INFO] running `Command { std: "docker" "start" "-a" "6c507395cbb1e04b692104e391e2df3aae24e3c3cef7e05b57b074c843ba1336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c507395cbb1e04b692104e391e2df3aae24e3c3cef7e05b57b074c843ba1336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c507395cbb1e04b692104e391e2df3aae24e3c3cef7e05b57b074c843ba1336", kill_on_drop: false }` [INFO] [stdout] 6c507395cbb1e04b692104e391e2df3aae24e3c3cef7e05b57b074c843ba1336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9fd1d408b0424a00191285222b837269ac1a5222833c70624ca53b53213d6ae [INFO] running `Command { std: "docker" "start" "-a" "c9fd1d408b0424a00191285222b837269ac1a5222833c70624ca53b53213d6ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking stl_io v0.5.2 (https://github.com/hsabouri/stl_io#500d1790) [INFO] [stderr] Checking lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling pancake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `X` and `Y` [INFO] [stdout] --> src/stage.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use super::math::{default_triangle, equal_float, Highest, Line, Lowest, Segment, X, Y, Z}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `X` and `Y` [INFO] [stdout] --> src/stage.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use super::math::{default_triangle, equal_float, Highest, Line, Lowest, Segment, X, Y, Z}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Highest` and `Lowest` [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | Center, Displace, Highest, Homothety, Lowest, RotateX, RotateY, RotateZ, Scale, X, Y, Z, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Highest` and `Lowest` [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | Center, Displace, Highest, Homothety, Lowest, RotateX, RotateY, RotateZ, Scale, X, Y, Z, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use stage::{IterStages, Stage}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use stage::{IterStages, Stage}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let matches = App::new("Pancake") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let matches = App::new("Pancake") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 28 | Transform::Rotate(Axis::X, theta) => stl.rotate_x(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 29 | Transform::Rotate(Axis::Y, theta) => stl.rotate_y(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 30 | Transform::Rotate(Axis::Z, theta) => stl.rotate_z(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 31 | Transform::Move(x, y, z) => stl.displace(x, y, z), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 28 | Transform::Rotate(Axis::X, theta) => stl.rotate_x(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 29 | Transform::Rotate(Axis::Y, theta) => stl.rotate_y(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 30 | Transform::Rotate(Axis::Z, theta) => stl.rotate_z(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 31 | Transform::Move(x, y, z) => stl.displace(x, y, z), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_to` is never used [INFO] [stdout] --> src/gcode.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Printer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn print_to(&mut self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/slice.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Slice { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | pub height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_to` is never used [INFO] [stdout] --> src/gcode.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Printer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn print_to(&mut self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/slice.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Slice { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | pub height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init` should have an upper case name [INFO] [stdout] --> src/gcode.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const init: &'static str = " [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `INIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init2` should have an upper case name [INFO] [stdout] --> src/gcode.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const init2: &'static str = " [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INIT2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `end` should have an upper case name [INFO] [stdout] --> src/gcode.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const end: &'static str = " [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `END` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init` should have an upper case name [INFO] [stdout] --> src/gcode.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const init: &'static str = " [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `INIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init2` should have an upper case name [INFO] [stdout] --> src/gcode.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const init2: &'static str = " [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INIT2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `end` should have an upper case name [INFO] [stdout] --> src/gcode.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const end: &'static str = " [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `END` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c9fd1d408b0424a00191285222b837269ac1a5222833c70624ca53b53213d6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9fd1d408b0424a00191285222b837269ac1a5222833c70624ca53b53213d6ae", kill_on_drop: false }` [INFO] [stdout] c9fd1d408b0424a00191285222b837269ac1a5222833c70624ca53b53213d6ae [INFO] checking hsabouri/pancake against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsabouri%2Fpancake" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsabouri/pancake on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hsabouri/pancake [INFO] finished tweaking git repo https://github.com/hsabouri/pancake [INFO] tweaked toml for git repo https://github.com/hsabouri/pancake written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hsabouri/pancake 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827495f86cd4c1817879984c5b7ae2a3969bffb143711c9275853961b645e88d [INFO] running `Command { std: "docker" "start" "-a" "827495f86cd4c1817879984c5b7ae2a3969bffb143711c9275853961b645e88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827495f86cd4c1817879984c5b7ae2a3969bffb143711c9275853961b645e88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827495f86cd4c1817879984c5b7ae2a3969bffb143711c9275853961b645e88d", kill_on_drop: false }` [INFO] [stdout] 827495f86cd4c1817879984c5b7ae2a3969bffb143711c9275853961b645e88d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36627d383d0d23d512e7b057d692fe8c704525b06eb017fb7860130cc18866e4 [INFO] running `Command { std: "docker" "start" "-a" "36627d383d0d23d512e7b057d692fe8c704525b06eb017fb7860130cc18866e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking stl_io v0.5.2 (https://github.com/hsabouri/stl_io#500d1790) [INFO] [stderr] Checking lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling pancake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `X` and `Y` [INFO] [stdout] --> src/stage.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use super::math::{default_triangle, equal_float, Highest, Line, Lowest, Segment, X, Y, Z}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `X` and `Y` [INFO] [stdout] --> src/stage.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use super::math::{default_triangle, equal_float, Highest, Line, Lowest, Segment, X, Y, Z}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Highest` and `Lowest` [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | Center, Displace, Highest, Homothety, Lowest, RotateX, RotateY, RotateZ, Scale, X, Y, Z, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use stage::{IterStages, Stage}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Highest` and `Lowest` [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | Center, Displace, Highest, Homothety, Lowest, RotateX, RotateY, RotateZ, Scale, X, Y, Z, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use stage::{IterStages, Stage}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let matches = App::new("Pancake") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let matches = App::new("Pancake") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 28 | Transform::Rotate(Axis::X, theta) => stl.rotate_x(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 29 | Transform::Rotate(Axis::Y, theta) => stl.rotate_y(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 30 | Transform::Rotate(Axis::Z, theta) => stl.rotate_z(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 31 | Transform::Move(x, y, z) => stl.displace(x, y, z), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 28 | Transform::Rotate(Axis::X, theta) => stl.rotate_x(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 29 | Transform::Rotate(Axis::Y, theta) => stl.rotate_y(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 30 | Transform::Rotate(Axis::Z, theta) => stl.rotate_z(theta), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 31 | Transform::Move(x, y, z) => stl.displace(x, y, z), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | _ => stl, [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_to` is never used [INFO] [stdout] --> src/gcode.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Printer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn print_to(&mut self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/slice.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Slice { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | pub height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_to` is never used [INFO] [stdout] --> src/gcode.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Printer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn print_to(&mut self, x: f64, y: f64, z: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/slice.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Slice { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | pub height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init` should have an upper case name [INFO] [stdout] --> src/gcode.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const init: &'static str = " [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `INIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init2` should have an upper case name [INFO] [stdout] --> src/gcode.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const init2: &'static str = " [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INIT2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `end` should have an upper case name [INFO] [stdout] --> src/gcode.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const end: &'static str = " [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `END` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init` should have an upper case name [INFO] [stdout] --> src/gcode.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const init: &'static str = " [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `INIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init2` should have an upper case name [INFO] [stdout] --> src/gcode.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const init2: &'static str = " [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INIT2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `end` should have an upper case name [INFO] [stdout] --> src/gcode.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const end: &'static str = " [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `END` [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/stage.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn iter_stages(self) -> Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let lowest = self.lowest()?; [INFO] [stdout] 150 | Some(StageIterator { [INFO] [stdout] | ______________^ [INFO] [stdout] 151 | | inner: self, [INFO] [stdout] 152 | | last_height: lowest, [INFO] [stdout] 153 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stage.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn iter_stages(self) -> Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let lowest = self.lowest()?; [INFO] [stdout] 150 | Some(StageIterator { [INFO] [stdout] | ______________^ [INFO] [stdout] 151 | | inner: self, [INFO] [stdout] 152 | | last_height: lowest, [INFO] [stdout] 153 | | }) [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pancake` (bin "pancake") due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pancake` (bin "pancake" test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36627d383d0d23d512e7b057d692fe8c704525b06eb017fb7860130cc18866e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36627d383d0d23d512e7b057d692fe8c704525b06eb017fb7860130cc18866e4", kill_on_drop: false }` [INFO] [stdout] 36627d383d0d23d512e7b057d692fe8c704525b06eb017fb7860130cc18866e4