[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 master#a26e97be8826d408309fffbd8168362365719f50 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ba12ley/rust_tdd on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "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-tc1/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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3126c7ccb8feba522353fbc0725e13ad97a0bf66b59155755dcf947138150230
[INFO] running `Command { std: "docker" "start" "-a" "3126c7ccb8feba522353fbc0725e13ad97a0bf66b59155755dcf947138150230", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3126c7ccb8feba522353fbc0725e13ad97a0bf66b59155755dcf947138150230", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3126c7ccb8feba522353fbc0725e13ad97a0bf66b59155755dcf947138150230", kill_on_drop: false }`
[INFO] [stdout] 3126c7ccb8feba522353fbc0725e13ad97a0bf66b59155755dcf947138150230
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4cdedcf1e2bc751f12c084cbf514c3f8dc352516ace26eaacd413dc6d3fe8d41
[INFO] running `Command { std: "docker" "start" "-a" "4cdedcf1e2bc751f12c084cbf514c3f8dc352516ace26eaacd413dc6d3fe8d41", 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: 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] [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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "4cdedcf1e2bc751f12c084cbf514c3f8dc352516ace26eaacd413dc6d3fe8d41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cdedcf1e2bc751f12c084cbf514c3f8dc352516ace26eaacd413dc6d3fe8d41", kill_on_drop: false }`
[INFO] [stdout] 4cdedcf1e2bc751f12c084cbf514c3f8dc352516ace26eaacd413dc6d3fe8d41
