[INFO] cloning repository https://github.com/andylin2004-graphics/07_cstack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andylin2004-graphics/07_cstack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandylin2004-graphics%2F07_cstack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandylin2004-graphics%2F07_cstack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cde541e2f551d66c7a03624ceb7de4f07ac683f [INFO] building andylin2004-graphics/07_cstack 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%2Fandylin2004-graphics%2F07_cstack" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andylin2004-graphics/07_cstack 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/andylin2004-graphics/07_cstack [INFO] finished tweaking git repo https://github.com/andylin2004-graphics/07_cstack [INFO] tweaked toml for git repo https://github.com/andylin2004-graphics/07_cstack written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andylin2004-graphics/07_cstack 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d7368c7b071dd14e0a7b619a48ae7fed552e3c18152b7f3df5f09f20eb661d44 [INFO] running `Command { std: "docker" "start" "-a" "d7368c7b071dd14e0a7b619a48ae7fed552e3c18152b7f3df5f09f20eb661d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7368c7b071dd14e0a7b619a48ae7fed552e3c18152b7f3df5f09f20eb661d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7368c7b071dd14e0a7b619a48ae7fed552e3c18152b7f3df5f09f20eb661d44", kill_on_drop: false }` [INFO] [stdout] d7368c7b071dd14e0a7b619a48ae7fed552e3c18152b7f3df5f09f20eb661d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d59799f8d4b874db3e5af92e4cec2f3e8e5253152e7b920550e3b882788108ba [INFO] running `Command { std: "docker" "start" "-a" "d59799f8d4b874db3e5af92e4cec2f3e8e5253152e7b920550e3b882788108ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hw-07 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_color` is never used [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color{ [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn reset_color(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_edge_int` is never used [INFO] [stdout] --> src/draw.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn add_edge_int(&mut self, x0: i32, y0: i32, z0: i32, x1: i32, y1: i32, z1: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/image.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_matrix` is never used [INFO] [stdout] --> src/matrix.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Matrix{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn print_matrix(&self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / parse_file( [INFO] [stdout] 22 | | "basketball_script", [INFO] [stdout] 23 | | &mut cstack, [INFO] [stdout] 24 | | &mut edges, [INFO] [stdout] ... | [INFO] [stdout] 27 | | color, [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = parse_file( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / parse_file( [INFO] [stdout] 31 | | "script", [INFO] [stdout] 32 | | &mut cstack, [INFO] [stdout] 33 | | &mut edges, [INFO] [stdout] ... | [INFO] [stdout] 36 | | color, [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = parse_file( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `identityMatrix` should have a snake case name [INFO] [stdout] --> src/matrix.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut identityMatrix = Matrix::new(4,4); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "d59799f8d4b874db3e5af92e4cec2f3e8e5253152e7b920550e3b882788108ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59799f8d4b874db3e5af92e4cec2f3e8e5253152e7b920550e3b882788108ba", kill_on_drop: false }` [INFO] [stdout] d59799f8d4b874db3e5af92e4cec2f3e8e5253152e7b920550e3b882788108ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4a3e471212ec622e0ea034134e59f2f569d659efae7f3cccc4f2775bd2696f3c [INFO] running `Command { std: "docker" "start" "-a" "4a3e471212ec622e0ea034134e59f2f569d659efae7f3cccc4f2775bd2696f3c", kill_on_drop: false }` [INFO] [stderr] Compiling hw-07 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_color` is never used [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Color{ [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn reset_color(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_edge_int` is never used [INFO] [stdout] --> src/draw.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn add_edge_int(&mut self, x0: i32, y0: i32, z0: i32, x1: i32, y1: i32, z1: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/image.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_matrix` is never used [INFO] [stdout] --> src/matrix.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Matrix{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn print_matrix(&self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / parse_file( [INFO] [stdout] 22 | | "basketball_script", [INFO] [stdout] 23 | | &mut cstack, [INFO] [stdout] 24 | | &mut edges, [INFO] [stdout] ... | [INFO] [stdout] 27 | | color, [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = parse_file( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / parse_file( [INFO] [stdout] 31 | | "script", [INFO] [stdout] 32 | | &mut cstack, [INFO] [stdout] 33 | | &mut edges, [INFO] [stdout] ... | [INFO] [stdout] 36 | | color, [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = parse_file( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `identityMatrix` should have a snake case name [INFO] [stdout] --> src/matrix.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut identityMatrix = Matrix::new(4,4); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `identity_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "4a3e471212ec622e0ea034134e59f2f569d659efae7f3cccc4f2775bd2696f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3e471212ec622e0ea034134e59f2f569d659efae7f3cccc4f2775bd2696f3c", kill_on_drop: false }` [INFO] [stdout] 4a3e471212ec622e0ea034134e59f2f569d659efae7f3cccc4f2775bd2696f3c