[INFO] cloning repository https://github.com/Ba12ley/rust_tdd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ba12ley/rust_tdd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBa12ley%2Frust_tdd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBa12ley%2Frust_tdd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8fa56baf8c9f638e8b2c8f7b247c071182065f1
[INFO] checking Ba12ley/rust_tdd against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBa12ley%2Frust_tdd" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ba12ley/rust_tdd on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ba12ley/rust_tdd
[INFO] finished tweaking git repo https://github.com/Ba12ley/rust_tdd
[INFO] tweaked toml for git repo https://github.com/Ba12ley/rust_tdd written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Ba12ley/rust_tdd 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6c33ecd0e8aa3e5f28dc0db608dc8038e054d7f08e6b331c0cff68bf474bae6
[INFO] running `Command { std: "docker" "start" "-a" "e6c33ecd0e8aa3e5f28dc0db608dc8038e054d7f08e6b331c0cff68bf474bae6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6c33ecd0e8aa3e5f28dc0db608dc8038e054d7f08e6b331c0cff68bf474bae6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6c33ecd0e8aa3e5f28dc0db608dc8038e054d7f08e6b331c0cff68bf474bae6", kill_on_drop: false }`
[INFO] [stdout] e6c33ecd0e8aa3e5f28dc0db608dc8038e054d7f08e6b331c0cff68bf474bae6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a309992ab2a7b9013629df387d1cb9c2260d8892dbc8364bf1a706e159488da4
[INFO] running `Command { std: "docker" "start" "-a" "a309992ab2a7b9013629df387d1cb9c2260d8892dbc8364bf1a706e159488da4", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_tdd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/main.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn write_file(p: &str, content: &str) -> TResult<()> {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> src/main.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn write_file(p: &str, content: &str) -> TResult<()> {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TError` is never used
[INFO] [stdout]  --> src/main.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | type TError = Box<dyn error::Error>; //Box is a smart pointer that points to a heap-allocated value
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TResult` is never used
[INFO] [stdout]  --> src/main.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | type TResult<T> = result::Result<T, TError>;
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]  --> src/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn read_file(p: &str) -> TResult<String> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_numbers` is never used
[INFO] [stdout]   --> src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn split_numbers(s: &str) -> TResult<Vec<i32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_numbers` is never used
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn add_numbers(numbers: Vec<i32>) -> TResult<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_file` is never used
[INFO] [stdout]   --> src/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn write_file(p: &str, content: &str) -> TResult<()> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/main.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn write_file(p: &str, content: &str) -> TResult<()> {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> src/main.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn write_file(p: &str, content: &str) -> TResult<()> {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_file` is never used
[INFO] [stdout]   --> src/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn write_file(p: &str, content: &str) -> TResult<()> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "a309992ab2a7b9013629df387d1cb9c2260d8892dbc8364bf1a706e159488da4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a309992ab2a7b9013629df387d1cb9c2260d8892dbc8364bf1a706e159488da4", kill_on_drop: false }`
[INFO] [stdout] a309992ab2a7b9013629df387d1cb9c2260d8892dbc8364bf1a706e159488da4
