[INFO] cloning repository https://github.com/lampij/Rustbik [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lampij/Rustbik" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flampij%2FRustbik", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flampij%2FRustbik'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efd41746fa1c7878ec5cdbbfeaa0cb2b67ffd311 [INFO] checking lampij/Rustbik against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flampij%2FRustbik" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lampij/Rustbik on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lampij/Rustbik [INFO] finished tweaking git repo https://github.com/lampij/Rustbik [INFO] tweaked toml for git repo https://github.com/lampij/Rustbik written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/lampij/Rustbik already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f4f42e9e23d44e2a63527bb6d13f67182d8e9c1343af9de0ddcdde541b23b2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f4f42e9e23d44e2a63527bb6d13f67182d8e9c1343af9de0ddcdde541b23b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f4f42e9e23d44e2a63527bb6d13f67182d8e9c1343af9de0ddcdde541b23b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f4f42e9e23d44e2a63527bb6d13f67182d8e9c1343af9de0ddcdde541b23b2b", kill_on_drop: false }` [INFO] [stdout] 6f4f42e9e23d44e2a63527bb6d13f67182d8e9c1343af9de0ddcdde541b23b2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8173bbb5c43fbd3b2b4d890a573b98fc8a0eb70655305b5a8357f5e7258c54b3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8173bbb5c43fbd3b2b4d890a573b98fc8a0eb70655305b5a8357f5e7258c54b3", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rustbik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut total : f64 = 0.00; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn solve_best_simple_move(mut c: Cube) -> Cube{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut total : f64 = 0.00; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut total : f64 = 0.00; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [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:530:17 [INFO] [stdout] | [INFO] [stdout] 530 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:733:17 [INFO] [stdout] | [INFO] [stdout] 733 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:895:17 [INFO] [stdout] | [INFO] [stdout] 895 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:905:17 [INFO] [stdout] | [INFO] [stdout] 905 | let n = test::black_box(&test_cube); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:907:17 [INFO] [stdout] | [INFO] [stdout] 907 | for i in 1..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sort_val` [INFO] [stdout] --> src/main.rs:908:21 [INFO] [stdout] | [INFO] [stdout] 908 | let sort_val = Cube::is_side_sorted(&test_cube.front); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:917:17 [INFO] [stdout] | [INFO] [stdout] 917 | let n = test::black_box(&test_cube); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | for i in 1..100000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sort_val` [INFO] [stdout] --> src/main.rs:920:21 [INFO] [stdout] | [INFO] [stdout] 920 | let sort_val = Cube::swap_unit_colors(&mut test_cube.front.top_right, &mut test_cube.back.top_left); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn solve_best_simple_move(mut c: Cube) -> Cube{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut total : f64 = 0.00; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:903:13 [INFO] [stdout] | [INFO] [stdout] 903 | let mut test_cube = Cube::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "8173bbb5c43fbd3b2b4d890a573b98fc8a0eb70655305b5a8357f5e7258c54b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8173bbb5c43fbd3b2b4d890a573b98fc8a0eb70655305b5a8357f5e7258c54b3", kill_on_drop: false }` [INFO] [stdout] 8173bbb5c43fbd3b2b4d890a573b98fc8a0eb70655305b5a8357f5e7258c54b3