[INFO] cloning repository https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emielvanseveren/cracking-the-coding-interview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fcracking-the-coding-interview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fcracking-the-coding-interview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60d0f807e16d3b9b7d08a0c6a84fd8d82d94241d [INFO] checking emielvanseveren/cracking-the-coding-interview against master#06194cadcd0948a7100b46737f61e82b8c00d632 for pr-117967-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fcracking-the-coding-interview" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emielvanseveren/cracking-the-coding-interview on toolchain 06194cadcd0948a7100b46737f61e82b8c00d632 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+06194cadcd0948a7100b46737f61e82b8c00d632" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] finished tweaking git repo https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] tweaked toml for git repo https://github.com/emielvanseveren/cracking-the-coding-interview written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emielvanseveren/cracking-the-coding-interview 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" "+06194cadcd0948a7100b46737f61e82b8c00d632" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking emielvanseveren/cracking-the-coding-interview against try#6e8eb3d1ba265821f8cc640134ce012d1ff211d8 for pr-117967-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fcracking-the-coding-interview" "/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/emielvanseveren/cracking-the-coding-interview on toolchain 6e8eb3d1ba265821f8cc640134ce012d1ff211d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e8eb3d1ba265821f8cc640134ce012d1ff211d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] finished tweaking git repo https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] tweaked toml for git repo https://github.com/emielvanseveren/cracking-the-coding-interview written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emielvanseveren/cracking-the-coding-interview 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" "+6e8eb3d1ba265821f8cc640134ce012d1ff211d8" "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 emielvanseveren/cracking-the-coding-interview against try#6e8eb3d1ba265821f8cc640134ce012d1ff211d8 for pr-117967-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fcracking-the-coding-interview" "/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/emielvanseveren/cracking-the-coding-interview on toolchain 6e8eb3d1ba265821f8cc640134ce012d1ff211d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e8eb3d1ba265821f8cc640134ce012d1ff211d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] finished tweaking git repo https://github.com/emielvanseveren/cracking-the-coding-interview [INFO] tweaked toml for git repo https://github.com/emielvanseveren/cracking-the-coding-interview written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emielvanseveren/cracking-the-coding-interview 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" "+6e8eb3d1ba265821f8cc640134ce012d1ff211d8" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6e8eb3d1ba265821f8cc640134ce012d1ff211d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da72e7799d09f729b87e4177a51c82b820cde2bfff4507908b87e2883e084a70 [INFO] running `Command { std: "docker" "start" "-a" "da72e7799d09f729b87e4177a51c82b820cde2bfff4507908b87e2883e084a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da72e7799d09f729b87e4177a51c82b820cde2bfff4507908b87e2883e084a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da72e7799d09f729b87e4177a51c82b820cde2bfff4507908b87e2883e084a70", kill_on_drop: false }` [INFO] [stdout] da72e7799d09f729b87e4177a51c82b820cde2bfff4507908b87e2883e084a70 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6e8eb3d1ba265821f8cc640134ce012d1ff211d8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 170ba25b0bc462cac34d870ceab9f30153f7e48c6c7fdf8b2469273ab06ef6b1 [INFO] running `Command { std: "docker" "start" "-a" "170ba25b0bc462cac34d870ceab9f30153f7e48c6c7fdf8b2469273ab06ef6b1", kill_on_drop: false }` [INFO] [stderr] Checking cracking-the-coding-interview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `c01p07` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `src/bin/c01p07.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cracking-the-coding-interview` (bin "c01p07") due to 2 previous errors [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/c02p01.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `test_remove_dups_part_a` is never used [INFO] [stdout] --> src/bin/c02p01.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_remove_dups_part_a() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_remove_dups_part_b` is never used [INFO] [stdout] --> src/bin/c02p01.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_remove_dups_part_b() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/c01p06.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn compress(s: &str) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/bin/c01p09.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_rotation(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/bin/c01p09.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_rotation(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kth_to_last` is never used [INFO] [stdout] --> src/bin/c02p02.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn kth_to_last() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Image` [INFO] [stdout] --> src/bin/c01p08.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(rotated_img, img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Image [INFO] [stdout] | Image [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Image` [INFO] [stdout] --> src/bin/c01p08.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct Image; [INFO] [stdout] | ^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Image` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(PartialEq)] [INFO] [stdout] 9 | struct Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/c02p02.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/bin/c01p08.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn rotate_matrix(img: Image) -> Image { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/bin/c01p08.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn rotate_matrix_in_place(img: Image) -> Image { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_remove_dups_part_a` is never used [INFO] [stdout] --> src/bin/c02p01.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_remove_dups_part_a() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_remove_dups_part_b` is never used [INFO] [stdout] --> src/bin/c02p01.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_remove_dups_part_b() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cracking-the-coding-interview` (bin "c01p08" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/bin/c01p05.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | fn is_one_away(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/bin/c01p05.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn is_one_away(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kth_to_last` is never used [INFO] [stdout] --> src/bin/c02p02.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn kth_to_last() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/bin/c01p08.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn rotate_matrix(img: Image) -> Image { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/bin/c01p08.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn rotate_matrix_in_place(img: Image) -> Image { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/bin/c01p08.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_matrix` is never used [INFO] [stdout] --> src/bin/c01p08.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn rotate_matrix(img: Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_matrix_in_place` is never used [INFO] [stdout] --> src/bin/c01p08.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn rotate_matrix_in_place(img: Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_next` and `to_empty` are never used [INFO] [stdout] --> src/bin/linkedlist.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl Node [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: Copy, [INFO] [stdout] | |____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn to_next(&mut self, nxt: Node) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn to_empty(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "170ba25b0bc462cac34d870ceab9f30153f7e48c6c7fdf8b2469273ab06ef6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170ba25b0bc462cac34d870ceab9f30153f7e48c6c7fdf8b2469273ab06ef6b1", kill_on_drop: false }` [INFO] [stdout] 170ba25b0bc462cac34d870ceab9f30153f7e48c6c7fdf8b2469273ab06ef6b1