[INFO] cloning repository https://github.com/AlexanderHarrison/TetrisPercent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexanderHarrison/TetrisPercent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderHarrison%2FTetrisPercent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderHarrison%2FTetrisPercent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19c5967e4ed24fb217eef171b955fc526ad0535a
[INFO] checking AlexanderHarrison/TetrisPercent against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderHarrison%2FTetrisPercent" "/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/AlexanderHarrison/TetrisPercent on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AlexanderHarrison/TetrisPercent
[INFO] finished tweaking git repo https://github.com/AlexanderHarrison/TetrisPercent
[INFO] tweaked toml for git repo https://github.com/AlexanderHarrison/TetrisPercent written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AlexanderHarrison/TetrisPercent 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded permutohedron v0.2.4
[INFO] [stderr]   Downloaded unicode-width v0.1.7
[INFO] [stderr]   Downloaded urlparse v0.7.3
[INFO] [stderr]   Downloaded libc v0.2.67
[INFO] [stderr]   Downloaded vec_map v0.8.1
[INFO] [stderr]   Downloaded clap v2.33.0
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c29c37463d483f7bfc2cdcf102f261d9e84ae42a1765c12120f6249622652404
[INFO] running `Command { std: "docker" "start" "-a" "c29c37463d483f7bfc2cdcf102f261d9e84ae42a1765c12120f6249622652404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c29c37463d483f7bfc2cdcf102f261d9e84ae42a1765c12120f6249622652404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c29c37463d483f7bfc2cdcf102f261d9e84ae42a1765c12120f6249622652404", kill_on_drop: false }`
[INFO] [stdout] c29c37463d483f7bfc2cdcf102f261d9e84ae42a1765c12120f6249622652404
[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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1de21e37883ea57befa0f6a82b407a047c74f821c04e468f1f80e1ededa69d4b
[INFO] running `Command { std: "docker" "start" "-a" "1de21e37883ea57befa0f6a82b407a047c74f821c04e468f1f80e1ededa69d4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking permutohedron v0.2.4
[INFO] [stderr]     Checking urlparse v0.7.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking percentage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]  --> src/perm_gen.rs:4:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn generate_perm_iter<'a>(pieces: &'a mut Vec<Piece>) -> Heap<Vec<Piece>, Piece> {
[INFO] [stdout]   |                           -- lifetime `'a` declared here         ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `permutohedron::Heap`
[INFO] [stdout]  --> src/hold_comp.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use permutohedron::Heap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]  --> src/perm_gen.rs:4:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn generate_perm_iter<'a>(pieces: &'a mut Vec<Piece>) -> Heap<Vec<Piece>, Piece> {
[INFO] [stdout]   |                           -- lifetime `'a` declared here         ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `permutohedron::Heap`
[INFO] [stdout]  --> src/hold_comp.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use permutohedron::Heap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/field.rs:41:53
[INFO] [stdout]    |
[INFO] [stdout] 41 |         crate::hold_comp::compute_with_hold(pieces, works_perms_no_hold)
[INFO] [stdout]    |         -----------------------------------         ^^^^^^^^^^^^^^^^^^^ expected `Vec<usize>`, found `Vec<Vec<Piece>>`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<usize>`
[INFO] [stdout]               found struct `Vec<Vec<Piece>>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/hold_comp.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn compute_with_hold(pieces: Vec<Piece>, works_without_hold: Vec<usize>) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^                     ------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/field.rs:41:53
[INFO] [stdout]    |
[INFO] [stdout] 41 |         crate::hold_comp::compute_with_hold(pieces, works_perms_no_hold)
[INFO] [stdout]    |         -----------------------------------         ^^^^^^^^^^^^^^^^^^^ expected `Vec<usize>`, found `Vec<Vec<Piece>>`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<usize>`
[INFO] [stdout]               found struct `Vec<Vec<piece::Piece>>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/hold_comp.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn compute_with_hold(pieces: Vec<Piece>, works_without_hold: Vec<usize>) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^                     ------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/hold_comp.rs:17:81
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn compute_with_hold(pieces: Vec<Piece>, works_without_hold: Vec<usize>) -> u64 {
[INFO] [stdout]    |        -----------------                                                        ^^^ expected `u64`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/hold_comp.rs:17:81
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn compute_with_hold(pieces: Vec<Piece>, works_without_hold: Vec<usize>) -> u64 {
[INFO] [stdout]    |        -----------------                                                        ^^^ expected `u64`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `percentage` (bin "percentage" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `percentage` (bin "percentage") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1de21e37883ea57befa0f6a82b407a047c74f821c04e468f1f80e1ededa69d4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1de21e37883ea57befa0f6a82b407a047c74f821c04e468f1f80e1ededa69d4b", kill_on_drop: false }`
[INFO] [stdout] 1de21e37883ea57befa0f6a82b407a047c74f821c04e468f1f80e1ededa69d4b
