[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] building hsabouri/pancake against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/hsabouri/stl_io` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eb3a33998826fdfd3b5d0d571a9d90516978995bdbecc6b479567573dd5ccd8 [INFO] running `Command { std: "docker" "start" "-a" "1eb3a33998826fdfd3b5d0d571a9d90516978995bdbecc6b479567573dd5ccd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eb3a33998826fdfd3b5d0d571a9d90516978995bdbecc6b479567573dd5ccd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb3a33998826fdfd3b5d0d571a9d90516978995bdbecc6b479567573dd5ccd8", kill_on_drop: false }` [INFO] [stdout] 1eb3a33998826fdfd3b5d0d571a9d90516978995bdbecc6b479567573dd5ccd8 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39169a289ac60f38cbf63cdaaf49c921b3ed0d77718cb5b8ad21af03efc3067 [INFO] running `Command { std: "docker" "start" "-a" "f39169a289ac60f38cbf63cdaaf49c921b3ed0d77718cb5b8ad21af03efc3067", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [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 phf_shared v0.10.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling stl_io v0.5.2 (https://github.com/hsabouri/stl_io#500d1790) [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling 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: `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: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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.98s [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" "f39169a289ac60f38cbf63cdaaf49c921b3ed0d77718cb5b8ad21af03efc3067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39169a289ac60f38cbf63cdaaf49c921b3ed0d77718cb5b8ad21af03efc3067", kill_on_drop: false }` [INFO] [stdout] f39169a289ac60f38cbf63cdaaf49c921b3ed0d77718cb5b8ad21af03efc3067 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3127676d6e0c7c5f1e7a82f236862717e58ccbbf1ec4839f82db32db4ce86d15 [INFO] running `Command { std: "docker" "start" "-a" "3127676d6e0c7c5f1e7a82f236862717e58ccbbf1ec4839f82db32db4ce86d15", kill_on_drop: false }` [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: `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: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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [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" "3127676d6e0c7c5f1e7a82f236862717e58ccbbf1ec4839f82db32db4ce86d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3127676d6e0c7c5f1e7a82f236862717e58ccbbf1ec4839f82db32db4ce86d15", kill_on_drop: false }` [INFO] [stdout] 3127676d6e0c7c5f1e7a82f236862717e58ccbbf1ec4839f82db32db4ce86d15