[INFO] cloning repository https://github.com/rust-notes-and-demos/algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-notes-and-demos/algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-notes-and-demos%2Falgo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-notes-and-demos%2Falgo'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/rust-notes-and-demos/algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-notes-and-demos/algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-notes-and-demos%2Falgo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-notes-and-demos%2Falgo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ae5c4608db26bf7a32be96947d77f02b03c7a18 [INFO] checking rust-notes-and-demos/algo against master#96cfc75584359ae7ad11cc45968059f29e7b44b7 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-notes-and-demos%2Falgo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-notes-and-demos/algo on toolchain 96cfc75584359ae7ad11cc45968059f29e7b44b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rust-notes-and-demos/algo [INFO] finished tweaking git repo https://github.com/rust-notes-and-demos/algo [INFO] tweaked toml for git repo https://github.com/rust-notes-and-demos/algo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rust-notes-and-demos/algo 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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3a5dde29d30e96ec587987d076d67b7d9c048a4b4dfc6fd3a401b997d8c2b96 [INFO] running `Command { std: "docker" "start" "-a" "c3a5dde29d30e96ec587987d076d67b7d9c048a4b4dfc6fd3a401b997d8c2b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3a5dde29d30e96ec587987d076d67b7d9c048a4b4dfc6fd3a401b997d8c2b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a5dde29d30e96ec587987d076d67b7d9c048a4b4dfc6fd3a401b997d8c2b96", kill_on_drop: false }` [INFO] [stdout] c3a5dde29d30e96ec587987d076d67b7d9c048a4b4dfc6fd3a401b997d8c2b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6bef919b4efcdbcdd80c675cf8fc7e3189dfd2b220c7426101f320ee7fa1084 [INFO] running `Command { std: "docker" "start" "-a" "c6bef919b4efcdbcdd80c675cf8fc7e3189dfd2b220c7426101f320ee7fa1084", kill_on_drop: false }` [INFO] [stderr] Checking algo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input_array` [INFO] [stdout] --> src/questions/two_num_sum.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn two_sum_brute_force(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_sum` [INFO] [stdout] --> src/questions/two_num_sum.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | fn two_sum_brute_force(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_array` [INFO] [stdout] --> src/questions/two_num_sum.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn two_sum_brute_force(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algo` (lib test); 2 warnings emitted [INFO] [stdout] warning: unused variable: `target_sum` [INFO] [stdout] --> src/questions/two_num_sum.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | fn two_sum_brute_force(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `input_array` [INFO] [stdout] --> src/questions/two_num_sum.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn two_sum_better(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] warning: unused variable: `target_sum` [INFO] [stdout] --> src/questions/two_num_sum.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | fn two_sum_better(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/96cfc75584359ae7ad11cc45968059f29e7b44b7/bin/rustc --crate-name algo --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=77d2aff3ff14905b -C extra-filename=-2e4f0390070f4a20 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 0) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `input_array` [INFO] [stdout] --> src/questions/two_num_sum.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn two_sum_best(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_sum` [INFO] [stdout] --> src/questions/two_num_sum.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn two_sum_best(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/solutions/two_num_sum.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | for (j, num2) in input_array[i+1..].iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solutions/two_num_sum.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn two_sum_best(mut input_array: Vec, target_sum: i32) -> Vec { [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: function `two_sum_brute_force` is never used [INFO] [stdout] --> src/questions/two_num_sum.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn two_sum_brute_force(input_array: Vec, target_sum: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algo` (lib); 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/96cfc75584359ae7ad11cc45968059f29e7b44b7/bin/rustc --crate-name algo --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=c11f8ac1670d4325 -C extra-filename=-af9ebbd1ac92c7d2 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "c6bef919b4efcdbcdd80c675cf8fc7e3189dfd2b220c7426101f320ee7fa1084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6bef919b4efcdbcdd80c675cf8fc7e3189dfd2b220c7426101f320ee7fa1084", kill_on_drop: false }` [INFO] [stdout] c6bef919b4efcdbcdd80c675cf8fc7e3189dfd2b220c7426101f320ee7fa1084