[INFO] cloning repository https://github.com/craccho/cube_rust_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craccho/cube_rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraccho%2Fcube_rust_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraccho%2Fcube_rust_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd74ccfa52f0118daaf8c52d06181da21564c40e [INFO] building craccho/cube_rust_example 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%2Fcraccho%2Fcube_rust_example" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craccho/cube_rust_example 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/craccho/cube_rust_example [INFO] finished tweaking git repo https://github.com/craccho/cube_rust_example [INFO] tweaked toml for git repo https://github.com/craccho/cube_rust_example written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/craccho/cube_rust_example 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7b4ec2c92b0bb34df238a0f05ad045b1fd4c61b4d64be9557f98d9e6a7dcf112 [INFO] running `Command { std: "docker" "start" "-a" "7b4ec2c92b0bb34df238a0f05ad045b1fd4c61b4d64be9557f98d9e6a7dcf112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4ec2c92b0bb34df238a0f05ad045b1fd4c61b4d64be9557f98d9e6a7dcf112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4ec2c92b0bb34df238a0f05ad045b1fd4c61b4d64be9557f98d9e6a7dcf112", kill_on_drop: false }` [INFO] [stdout] 7b4ec2c92b0bb34df238a0f05ad045b1fd4c61b4d64be9557f98d9e6a7dcf112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 18057c527462c463651a4f932163db6bb5756759055f139447256a016e4e4f14 [INFO] running `Command { std: "docker" "start" "-a" "18057c527462c463651a4f932163db6bb5756759055f139447256a016e4e4f14", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `depth` is never read [INFO] [stdout] --> src/main.rs:894:25 [INFO] [stdout] | [INFO] [stdout] 894 | let mut depth = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:892:21 [INFO] [stdout] | [INFO] [stdout] 892 | let mut no = *no; [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: unused variable: `sequence4` [INFO] [stdout] --> src/main.rs:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | let sequence4 = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequence5` [INFO] [stdout] --> src/main.rs:1092:9 [INFO] [stdout] | [INFO] [stdout] 1092 | let sequence5 = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc2` [INFO] [stdout] --> src/main.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | let sc2 = Perm::from_scramble("R", solver); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rotation` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Rotation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inverse` is never used [INFO] [stdout] --> src/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Rotation { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 24 | fn inverse(self) -> Rotation { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_sticker` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn rotate_sticker(s: u8, r: &Rotation) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl Surface { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 95 | fn rotate(&self, rotation: &Rotation) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate`, `rotation`, and `reverse` are never used [INFO] [stdout] --> src/main.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl Orientation { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 156 | fn rotate(&mut self, rotation: &Rotation) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn rotation(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn reverse(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl Perm { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 235 | fn new() -> Perm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate` and `orient` are never used [INFO] [stdout] --> src/main.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 468 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 640 | fn rotate(&mut self, rotation: &Rotation) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1017 | fn orient(&mut self, o: &Orientation) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.69s [INFO] running `Command { std: "docker" "inspect" "18057c527462c463651a4f932163db6bb5756759055f139447256a016e4e4f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18057c527462c463651a4f932163db6bb5756759055f139447256a016e4e4f14", kill_on_drop: false }` [INFO] [stdout] 18057c527462c463651a4f932163db6bb5756759055f139447256a016e4e4f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 36ce673965a6289deb3bd0cccd6d0cdb10192c04f355ff0be438299e17e8f638 [INFO] running `Command { std: "docker" "start" "-a" "36ce673965a6289deb3bd0cccd6d0cdb10192c04f355ff0be438299e17e8f638", kill_on_drop: false }` [INFO] [stderr] Compiling cube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `depth` is never read [INFO] [stdout] --> src/main.rs:894:25 [INFO] [stdout] | [INFO] [stdout] 894 | let mut depth = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:892:21 [INFO] [stdout] | [INFO] [stdout] 892 | let mut no = *no; [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: unused variable: `sequence4` [INFO] [stdout] --> src/main.rs:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | let sequence4 = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequence5` [INFO] [stdout] --> src/main.rs:1092:9 [INFO] [stdout] | [INFO] [stdout] 1092 | let sequence5 = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc2` [INFO] [stdout] --> src/main.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | let sc2 = Perm::from_scramble("R", solver); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rotation` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Rotation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inverse` is never used [INFO] [stdout] --> src/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Rotation { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 24 | fn inverse(self) -> Rotation { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_sticker` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn rotate_sticker(s: u8, r: &Rotation) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl Surface { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 95 | fn rotate(&self, rotation: &Rotation) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate`, `rotation`, and `reverse` are never used [INFO] [stdout] --> src/main.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl Orientation { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 156 | fn rotate(&mut self, rotation: &Rotation) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn rotation(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn reverse(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl Perm { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 235 | fn new() -> Perm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate` and `orient` are never used [INFO] [stdout] --> src/main.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 468 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 640 | fn rotate(&mut self, rotation: &Rotation) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1017 | fn orient(&mut self, o: &Orientation) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "36ce673965a6289deb3bd0cccd6d0cdb10192c04f355ff0be438299e17e8f638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ce673965a6289deb3bd0cccd6d0cdb10192c04f355ff0be438299e17e8f638", kill_on_drop: false }` [INFO] [stdout] 36ce673965a6289deb3bd0cccd6d0cdb10192c04f355ff0be438299e17e8f638