[INFO] cloning repository https://github.com/adryzz/ctr-led-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adryzz/ctr-led-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadryzz%2Fctr-led-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadryzz%2Fctr-led-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 785f866c42db7a374ec7d68948e8cc66be2475ed [INFO] checking adryzz/ctr-led-rs against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadryzz%2Fctr-led-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adryzz/ctr-led-rs [INFO] finished tweaking git repo https://github.com/adryzz/ctr-led-rs [INFO] tweaked toml for git repo https://github.com/adryzz/ctr-led-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adryzz/ctr-led-rs on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adryzz/ctr-led-rs 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6796d1cbd02887851f4af5a91b2e2c9e3bdc9861a1c00c68b38b64f108b803a [INFO] running `Command { std: "docker" "start" "-a" "c6796d1cbd02887851f4af5a91b2e2c9e3bdc9861a1c00c68b38b64f108b803a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6796d1cbd02887851f4af5a91b2e2c9e3bdc9861a1c00c68b38b64f108b803a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6796d1cbd02887851f4af5a91b2e2c9e3bdc9861a1c00c68b38b64f108b803a", kill_on_drop: false }` [INFO] [stdout] c6796d1cbd02887851f4af5a91b2e2c9e3bdc9861a1c00c68b38b64f108b803a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b5bf41954dae56d73e8f2fc5c58198c9632495e5cc603b83faa33826a72dd6d [INFO] running `Command { std: "docker" "start" "-a" "3b5bf41954dae56d73e8f2fc5c58198c9632495e5cc603b83faa33826a72dd6d", kill_on_drop: false }` [INFO] [stderr] Checking ctr-led-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | c = repeat_pattern(2, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | c = repeat_pattern(2, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | c = repeat_pattern(4, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | c = repeat_pattern(4, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | c = repeat_pattern(8, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | c = repeat_pattern(8, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | c = repeat_pattern(16, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | c = repeat_pattern(16, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | c = repeat_pattern(32, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | c = repeat_pattern(32, &color); [INFO] [stdout] | -------------- ^^^^^^ expected `&[(u8, u8, u8)]`, found `&(u8, u8, u8)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(u8, u8, u8)]` [INFO] [stdout] found reference `&(u8, u8, u8)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn repeat_pattern(n: usize, pattern: &[(u8, u8, u8)]) -> [(u8, u8, u8); 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/lib.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | fn led_send(pattern: &[(u8, u8, u8); 32], repeat: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/lib.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | fn led_send(pattern: &[(u8, u8, u8); 32], repeat: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/lib.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | fn led_send(pattern: &[(u8, u8, u8); 32], repeat: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/lib.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | fn led_send(pattern: &[(u8, u8, u8); 32], repeat: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [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 `ctr-led-rs` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ctr-led-rs` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b5bf41954dae56d73e8f2fc5c58198c9632495e5cc603b83faa33826a72dd6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b5bf41954dae56d73e8f2fc5c58198c9632495e5cc603b83faa33826a72dd6d", kill_on_drop: false }` [INFO] [stdout] 3b5bf41954dae56d73e8f2fc5c58198c9632495e5cc603b83faa33826a72dd6d