[INFO] cloning repository https://github.com/albotw/PPC_EternityII [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/albotw/PPC_EternityII" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbotw%2FPPC_EternityII", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbotw%2FPPC_EternityII'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ad25661bc96abfcaf935c0e1f3bf482123b0b2f [INFO] building albotw/PPC_EternityII 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%2Falbotw%2FPPC_EternityII" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/albotw/PPC_EternityII 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/albotw/PPC_EternityII [INFO] finished tweaking git repo https://github.com/albotw/PPC_EternityII [INFO] tweaked toml for git repo https://github.com/albotw/PPC_EternityII written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/albotw/PPC_EternityII 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8f82346d2479abe23b69a136407408b327cd95ef892da9d7b9844864908d7344 [INFO] running `Command { std: "docker" "start" "-a" "8f82346d2479abe23b69a136407408b327cd95ef892da9d7b9844864908d7344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f82346d2479abe23b69a136407408b327cd95ef892da9d7b9844864908d7344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f82346d2479abe23b69a136407408b327cd95ef892da9d7b9844864908d7344", kill_on_drop: false }` [INFO] [stdout] 8f82346d2479abe23b69a136407408b327cd95ef892da9d7b9844864908d7344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 66166b6f7ba70071f29c93378a8ca1ec95a5fb0885d20c398d0c6f43181bf4c8 [INFO] running `Command { std: "docker" "start" "-a" "66166b6f7ba70071f29c93378a8ca1ec95a5fb0885d20c398d0c6f43181bf4c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ppc_eternity_II v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `piece` should have an upper camel case name [INFO] [stdout] --> src/Piece.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct piece { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `plateau` should have an upper camel case name [INFO] [stdout] --> src/Plateau.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct plateau { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Plateau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rls_move` should have an upper camel case name [INFO] [stdout] --> src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct rls_move { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RlsMove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | for i in 0..rls_move.rotations_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | for i in 0..rotations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cost` is never used [INFO] [stdout] --> src/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_cost(plateau: &plateau) -> f64{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/Piece.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> piece { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_color` and `get_max_proximity` are never used [INFO] [stdout] --> src/Plateau.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl plateau { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_max_color(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_max_proximity(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Piece` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Piece; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Plateau` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Plateau; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `plateau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RLS` should have a snake case name [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn RLS(mut plateau: plateau) { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/main.rs:173:50 [INFO] [stdout] | [INFO] [stdout] 173 | fn transition_factor(c_cost : f64, v_cost : f64, T : f64) -> f64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "66166b6f7ba70071f29c93378a8ca1ec95a5fb0885d20c398d0c6f43181bf4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66166b6f7ba70071f29c93378a8ca1ec95a5fb0885d20c398d0c6f43181bf4c8", kill_on_drop: false }` [INFO] [stdout] 66166b6f7ba70071f29c93378a8ca1ec95a5fb0885d20c398d0c6f43181bf4c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 66310759da07881cdd71281d19169f5b493e13eb47130019926c9f9534e5a098 [INFO] running `Command { std: "docker" "start" "-a" "66310759da07881cdd71281d19169f5b493e13eb47130019926c9f9534e5a098", kill_on_drop: false }` [INFO] [stderr] Compiling ppc_eternity_II v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `piece` should have an upper camel case name [INFO] [stdout] --> src/Piece.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct piece { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `plateau` should have an upper camel case name [INFO] [stdout] --> src/Plateau.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct plateau { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Plateau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rls_move` should have an upper camel case name [INFO] [stdout] --> src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct rls_move { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RlsMove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | for i in 0..rls_move.rotations_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | for i in 0..rotations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cost` is never used [INFO] [stdout] --> src/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_cost(plateau: &plateau) -> f64{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/Piece.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> piece { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_color` and `get_max_proximity` are never used [INFO] [stdout] --> src/Plateau.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl plateau { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_max_color(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_max_proximity(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Piece` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Piece; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `piece` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Plateau` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Plateau; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `plateau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RLS` should have a snake case name [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn RLS(mut plateau: plateau) { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/main.rs:173:50 [INFO] [stdout] | [INFO] [stdout] 173 | fn transition_factor(c_cost : f64, v_cost : f64, T : f64) -> f64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "66310759da07881cdd71281d19169f5b493e13eb47130019926c9f9534e5a098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66310759da07881cdd71281d19169f5b493e13eb47130019926c9f9534e5a098", kill_on_drop: false }` [INFO] [stdout] 66310759da07881cdd71281d19169f5b493e13eb47130019926c9f9534e5a098