[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] 479daaa99c6bcd6b481f2a9e987f2c6997acd9ee [INFO] checking hsabouri/pancake against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsabouri%2Fpancake" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsabouri/pancake on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b772092eb440158bc39c563d9dbc11a394d6bffb1f92232eebb8ab5740e5c9f8 [INFO] running `Command { std: "docker" "start" "-a" "b772092eb440158bc39c563d9dbc11a394d6bffb1f92232eebb8ab5740e5c9f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b772092eb440158bc39c563d9dbc11a394d6bffb1f92232eebb8ab5740e5c9f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b772092eb440158bc39c563d9dbc11a394d6bffb1f92232eebb8ab5740e5c9f8", kill_on_drop: false }` [INFO] [stdout] b772092eb440158bc39c563d9dbc11a394d6bffb1f92232eebb8ab5740e5c9f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e7f46198cedd7276b964937502090c318abde5629f356029531e7e776935bbbf [INFO] running `Command { std: "docker" "start" "-a" "e7f46198cedd7276b964937502090c318abde5629f356029531e7e776935bbbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking stl_io v0.4.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking lalrpop-util v0.19.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Compiling pancake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `X`, `Y` [INFO] [stdout] --> src/stage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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`, `Y` [INFO] [stdout] --> src/stage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | X, Y, Z, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | _ => stl, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poly_vec` [INFO] [stdout] --> src/math.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn find_and_assign(poly_vec: &mut Vec, seg: &Segment) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poly_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seg` [INFO] [stdout] --> src/math.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | fn find_and_assign(poly_vec: &mut Vec, seg: &Segment) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | _ => stl, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poly_vec` [INFO] [stdout] --> src/math.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn find_and_assign(poly_vec: &mut Vec, seg: &Segment) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poly_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seg` [INFO] [stdout] --> src/math.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | fn find_and_assign(poly_vec: &mut Vec, seg: &Segment) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_to` [INFO] [stdout] --> src/gcode.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn print_to(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equal_vertices` [INFO] [stdout] --> src/math.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn equal_vertices(a: Vertex, b: Vertex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_and_assign` [INFO] [stdout] --> src/math.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn find_and_assign(poly_vec: &mut Vec, seg: &Segment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/math.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn build(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [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: associated function is never used: `print_to` [INFO] [stdout] --> src/gcode.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn print_to(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equal_vertices` [INFO] [stdout] --> src/math.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn equal_vertices(a: Vertex, b: Vertex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_and_assign` [INFO] [stdout] --> src/math.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn find_and_assign(poly_vec: &mut Vec, seg: &Segment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/math.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn build(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "e7f46198cedd7276b964937502090c318abde5629f356029531e7e776935bbbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f46198cedd7276b964937502090c318abde5629f356029531e7e776935bbbf", kill_on_drop: false }` [INFO] [stdout] e7f46198cedd7276b964937502090c318abde5629f356029531e7e776935bbbf