[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] testing hsabouri/pancake against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsabouri%2Fpancake" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hsabouri/pancake on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 os_str_bytes v6.0.1 [INFO] [stderr] Downloaded syn v1.0.94 [INFO] [stderr] Downloaded clap v3.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7f9a1baf9e6f9ebe74d4aa36b984eb164fc65ea0a6e0c7a0eeedf1ee591c89d [INFO] running `Command { std: "docker" "start" "-a" "a7f9a1baf9e6f9ebe74d4aa36b984eb164fc65ea0a6e0c7a0eeedf1ee591c89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7f9a1baf9e6f9ebe74d4aa36b984eb164fc65ea0a6e0c7a0eeedf1ee591c89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f9a1baf9e6f9ebe74d4aa36b984eb164fc65ea0a6e0c7a0eeedf1ee591c89d", kill_on_drop: false }` [INFO] [stdout] a7f9a1baf9e6f9ebe74d4aa36b984eb164fc65ea0a6e0c7a0eeedf1ee591c89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 14056122cfe37817e68c81707d1559e30178e3d9f32fad5e7cf071ef20380ba6 [INFO] running `Command { std: "docker" "start" "-a" "14056122cfe37817e68c81707d1559e30178e3d9f32fad5e7cf071ef20380ba6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.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 bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling stl_io v0.5.2 (https://github.com/hsabouri/stl_io#500d1790) [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.5.5 [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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slice.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | fn iter_slices(&mut self, step: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | fn iter_slices(&mut self, step: f64) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slice.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn iter_slices(&mut self, step: f64) -> Option> { [INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | fn iter_slices(&mut self, step: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.57s [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" "14056122cfe37817e68c81707d1559e30178e3d9f32fad5e7cf071ef20380ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14056122cfe37817e68c81707d1559e30178e3d9f32fad5e7cf071ef20380ba6", kill_on_drop: false }` [INFO] [stdout] 14056122cfe37817e68c81707d1559e30178e3d9f32fad5e7cf071ef20380ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 367cd8a9cdb98f308017df2719a538c79e1814d9449c03f3ddf46873d014395c [INFO] running `Command { std: "docker" "start" "-a" "367cd8a9cdb98f308017df2719a538c79e1814d9449c03f3ddf46873d014395c", 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slice.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | fn iter_slices(&mut self, step: f64) -> Option>; [INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | fn iter_slices(&mut self, step: f64) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slice.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn iter_slices(&mut self, step: f64) -> Option> { [INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | fn iter_slices(&mut self, step: f64) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [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" "367cd8a9cdb98f308017df2719a538c79e1814d9449c03f3ddf46873d014395c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367cd8a9cdb98f308017df2719a538c79e1814d9449c03f3ddf46873d014395c", kill_on_drop: false }` [INFO] [stdout] 367cd8a9cdb98f308017df2719a538c79e1814d9449c03f3ddf46873d014395c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8016142f16458fd0eda7f26f62dc5c177423dd70631a1005e7d5b90b6f4e9e90 [INFO] running `Command { std: "docker" "start" "-a" "8016142f16458fd0eda7f26f62dc5c177423dd70631a1005e7d5b90b6f4e9e90", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `X` and `Y` [INFO] [stderr] --> src/stage.rs:1:82 [INFO] [stderr] | [INFO] [stderr] 1 | use super::math::{default_triangle, equal_float, Highest, Line, Lowest, Segment, X, Y, Z}; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Highest` and `Lowest` [INFO] [stderr] --> src/main.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | Center, Displace, Highest, Homothety, Lowest, RotateX, RotateY, RotateZ, Scale, X, Y, Z, [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stage` [INFO] [stderr] --> src/main.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | use stage::{IterStages, Stage}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{App, Arg}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stderr] --> src/main.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 43 | let matches = App::new("Pancake") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | _ => stl, [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/main.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 28 | Transform::Rotate(Axis::X, theta) => stl.rotate_x(theta), [INFO] [stderr] | --------------------------------- matches some of the same values [INFO] [stderr] 29 | Transform::Rotate(Axis::Y, theta) => stl.rotate_y(theta), [INFO] [stderr] | --------------------------------- matches some of the same values [INFO] [stderr] 30 | Transform::Rotate(Axis::Z, theta) => stl.rotate_z(theta), [INFO] [stderr] | --------------------------------- matches some of the same values [INFO] [stderr] 31 | Transform::Move(x, y, z) => stl.displace(x, y, z), [INFO] [stderr] | ------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 35 | _ => stl, [INFO] [stderr] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `print_to` is never used [INFO] [stderr] --> src/gcode.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 88 | impl Printer { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 110 | fn print_to(&mut self, x: f64, y: f64, z: f64) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `height` is never read [INFO] [stderr] --> src/slice.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Slice { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 10 | pub height: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Slice` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `init` should have an upper case name [INFO] [stderr] --> src/gcode.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const init: &'static str = " [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `INIT` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `init2` should have an upper case name [INFO] [stderr] --> src/gcode.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const init2: &'static str = " [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `INIT2` [INFO] [stderr] [INFO] [stderr] warning: constant `end` should have an upper case name [INFO] [stderr] --> src/gcode.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | pub const end: &'static str = " [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `END` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/slice.rs:81:20 [INFO] [stderr] | [INFO] [stderr] 81 | fn iter_slices(&mut self, step: f64) -> Option>; [INFO] [stderr] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 81 | fn iter_slices(&mut self, step: f64) -> Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/slice.rs:89:20 [INFO] [stderr] | [INFO] [stderr] 89 | fn iter_slices(&mut self, step: f64) -> Option> { [INFO] [stderr] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | fn iter_slices(&mut self, step: f64) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `pancake` (bin "pancake" test) generated 13 warnings (run `cargo fix --bin "pancake" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [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] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pancake-09f7864d3c20f100) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8016142f16458fd0eda7f26f62dc5c177423dd70631a1005e7d5b90b6f4e9e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8016142f16458fd0eda7f26f62dc5c177423dd70631a1005e7d5b90b6f4e9e90", kill_on_drop: false }` [INFO] [stdout] 8016142f16458fd0eda7f26f62dc5c177423dd70631a1005e7d5b90b6f4e9e90