[INFO] cloning repository https://github.com/kylegibson15/rust-leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylegibson15/rust-leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegibson15%2Frust-leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegibson15%2Frust-leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e7d74ceedf0d7467020f4e7cfb564f4da1a1999 [INFO] checking kylegibson15/rust-leetcode against try#6619027b13a87a3597115f2c8231f107bf3a7a5f for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegibson15%2Frust-leetcode" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylegibson15/rust-leetcode on toolchain 6619027b13a87a3597115f2c8231f107bf3a7a5f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylegibson15/rust-leetcode [INFO] finished tweaking git repo https://github.com/kylegibson15/rust-leetcode [INFO] tweaked toml for git repo https://github.com/kylegibson15/rust-leetcode written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kylegibson15/rust-leetcode 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" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking kylegibson15/rust-leetcode against try#6619027b13a87a3597115f2c8231f107bf3a7a5f for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegibson15%2Frust-leetcode" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylegibson15/rust-leetcode on toolchain 6619027b13a87a3597115f2c8231f107bf3a7a5f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylegibson15/rust-leetcode [INFO] finished tweaking git repo https://github.com/kylegibson15/rust-leetcode [INFO] tweaked toml for git repo https://github.com/kylegibson15/rust-leetcode written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kylegibson15/rust-leetcode 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" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.109 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2c2f11f18593cde66d8cb5accdeac7f68b559c808f3ad9e259d8fe0071b3bb4 [INFO] running `Command { std: "docker" "start" "-a" "c2c2f11f18593cde66d8cb5accdeac7f68b559c808f3ad9e259d8fe0071b3bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2c2f11f18593cde66d8cb5accdeac7f68b559c808f3ad9e259d8fe0071b3bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c2f11f18593cde66d8cb5accdeac7f68b559c808f3ad9e259d8fe0071b3bb4", kill_on_drop: false }` [INFO] [stdout] c2c2f11f18593cde66d8cb5accdeac7f68b559c808f3ad9e259d8fe0071b3bb4 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 365863a46dedfcf31593eabfb6a345bebbdbc91af343e525fa13586642b8af7d [INFO] running `Command { std: "docker" "start" "-a" "365863a46dedfcf31593eabfb6a345bebbdbc91af343e525fa13586642b8af7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking cookbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middle_of_linked_list.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | fn middle_node(head: Option>) -> Option> { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^ expected `Option>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `head` [INFO] [stdout] | [INFO] [stdout] 16 | fn middle_node(head: Option>) -> Option> { [INFO] [stdout] 17 + head [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middle_of_linked_list.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | fn middle_node(head: Option>) -> Option> { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^ expected `Option>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `head` [INFO] [stdout] | [INFO] [stdout] 16 | fn middle_node(head: Option>) -> Option> { [INFO] [stdout] 17 + head [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middle_of_linked_list.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 21 | let mut current: &Option> = list; [INFO] [stdout] | ---------------------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 24 | current = current.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `&Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middle_of_linked_list.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 21 | let mut current: &Option> = list; [INFO] [stdout] | ---------------------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 24 | current = current.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `&Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/middle_of_linked_list.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 22 | / loop { [INFO] [stdout] 23 | | println!("{:?}", current); [INFO] [stdout] 24 | | current = current.unwrap() [INFO] [stdout] 25 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 26 | length [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/middle_of_linked_list.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 22 | / loop { [INFO] [stdout] 23 | | println!("{:?}", current); [INFO] [stdout] 24 | | current = current.unwrap() [INFO] [stdout] 25 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 26 | length [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [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 `cookbook` (bin "cookbook" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cookbook` (bin "cookbook") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "365863a46dedfcf31593eabfb6a345bebbdbc91af343e525fa13586642b8af7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365863a46dedfcf31593eabfb6a345bebbdbc91af343e525fa13586642b8af7d", kill_on_drop: false }` [INFO] [stdout] 365863a46dedfcf31593eabfb6a345bebbdbc91af343e525fa13586642b8af7d