[INFO] cloning repository https://github.com/usetheplatform/patch-that-shit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/usetheplatform/patch-that-shit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusetheplatform%2Fpatch-that-shit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusetheplatform%2Fpatch-that-shit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5cacc26bc220724508499c80f77c64f3083914c2
[INFO] testing usetheplatform/patch-that-shit against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusetheplatform%2Fpatch-that-shit" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/usetheplatform/patch-that-shit on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/usetheplatform/patch-that-shit
[INFO] finished tweaking git repo https://github.com/usetheplatform/patch-that-shit
[INFO] tweaked toml for git repo https://github.com/usetheplatform/patch-that-shit written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/usetheplatform/patch-that-shit already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 291303692e95f2ea6f632825e2f14de4689e14f119f115c1c3c4ebba50ad7e35
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "291303692e95f2ea6f632825e2f14de4689e14f119f115c1c3c4ebba50ad7e35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "291303692e95f2ea6f632825e2f14de4689e14f119f115c1c3c4ebba50ad7e35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "291303692e95f2ea6f632825e2f14de4689e14f119f115c1c3c4ebba50ad7e35", kill_on_drop: false }`
[INFO] [stdout] 291303692e95f2ea6f632825e2f14de4689e14f119f115c1c3c4ebba50ad7e35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcc14c91c45314e1b1d39b7b5ab64057763ecb3fe72343c3d621a1a25927cc16
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dcc14c91c45314e1b1d39b7b5ab64057763ecb3fe72343c3d621a1a25927cc16", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.88
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling hyperx v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling backtrace v0.3.64
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.12
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling snafu-derive v0.7.0
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling serde-diff-derive v0.4.0
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling snafu v0.7.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling serde_path_to_error v0.1.7
[INFO] [stderr]    Compiling serde_yaml v0.8.23
[INFO] [stderr]    Compiling serde-diff v0.4.1
[INFO] [stderr]    Compiling treediff v4.0.2
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling treediff v3.0.2
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling json-patch v0.2.6
[INFO] [stderr]    Compiling octocrab v0.15.4
[INFO] [stderr]    Compiling patch-that-shit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `repositories`
[INFO] [stdout]   --> src/main.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repositories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `github_token`
[INFO] [stdout]   --> src/main.rs:37:48
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_to_patch`
[INFO] [stdout]   --> src/main.rs:37:62
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_to_patch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_to_origin`
[INFO] [stdout]   --> src/main.rs:37:77
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                                                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_to_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/main.rs:166:53
[INFO] [stdout]     |
[INFO] [stdout] 166 |     json_patch::patch(&mut origin, &patch).map_err(|err| { ApplicationError(format!("Failed to apply patch from {} to {}", path_to_patch,...
[INFO] [stdout]     |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/main.rs:189:67
[INFO] [stdout]     |
[INFO] [stdout] 189 |     write_yaml(&String::from("fixtures/result.yaml"), b).map_err(|err| { ApplicationError(format!("Failed to write file")) } );
[INFO] [stdout]     |                                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_json` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn write_json(filename: &String, json: &serde_json::Value) -> Result<(), serde_json::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `diff` is never used
[INFO] [stdout]    --> src/main.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn diff(a: &serde_yaml::Value, b: &serde_yaml::Value) {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 166 |     json_patch::patch(&mut origin, &patch).map_err(|err| { ApplicationError(format!("Failed to apply patch from {} to {}", path_to_patch, path_to_origin)) });
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     write_yaml(&String::from("fixtures/result.yaml"), b).map_err(|err| { ApplicationError(format!("Failed to write file")) } );
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 48s
[INFO] running `Command { std: "docker" "inspect" "dcc14c91c45314e1b1d39b7b5ab64057763ecb3fe72343c3d621a1a25927cc16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcc14c91c45314e1b1d39b7b5ab64057763ecb3fe72343c3d621a1a25927cc16", kill_on_drop: false }`
[INFO] [stdout] dcc14c91c45314e1b1d39b7b5ab64057763ecb3fe72343c3d621a1a25927cc16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b48e557408af98be6ee1d82c5b7e741c8b96112d6dc52849aaf1a180708811e5
[INFO] running `Command { std: "docker" "start" "-a" "b48e557408af98be6ee1d82c5b7e741c8b96112d6dc52849aaf1a180708811e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling patch-that-shit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `repositories`
[INFO] [stdout]   --> src/main.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repositories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `github_token`
[INFO] [stdout]   --> src/main.rs:37:48
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_to_patch`
[INFO] [stdout]   --> src/main.rs:37:62
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_to_patch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_to_origin`
[INFO] [stdout]   --> src/main.rs:37:77
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stdout]    |                                                                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_to_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/main.rs:166:53
[INFO] [stdout]     |
[INFO] [stdout] 166 |     json_patch::patch(&mut origin, &patch).map_err(|err| { ApplicationError(format!("Failed to apply patch from {} to {}", path_to_patch,...
[INFO] [stdout]     |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/main.rs:189:67
[INFO] [stdout]     |
[INFO] [stdout] 189 |     write_yaml(&String::from("fixtures/result.yaml"), b).map_err(|err| { ApplicationError(format!("Failed to write file")) } );
[INFO] [stdout]     |                                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_json` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn write_json(filename: &String, json: &serde_json::Value) -> Result<(), serde_json::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `diff` is never used
[INFO] [stdout]    --> src/main.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn diff(a: &serde_yaml::Value, b: &serde_yaml::Value) {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 166 |     json_patch::patch(&mut origin, &patch).map_err(|err| { ApplicationError(format!("Failed to apply patch from {} to {}", path_to_patch, path_to_origin)) });
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     write_yaml(&String::from("fixtures/result.yaml"), b).map_err(|err| { ApplicationError(format!("Failed to write file")) } );
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.54s
[INFO] running `Command { std: "docker" "inspect" "b48e557408af98be6ee1d82c5b7e741c8b96112d6dc52849aaf1a180708811e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b48e557408af98be6ee1d82c5b7e741c8b96112d6dc52849aaf1a180708811e5", kill_on_drop: false }`
[INFO] [stdout] b48e557408af98be6ee1d82c5b7e741c8b96112d6dc52849aaf1a180708811e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c95a4db239d6c48eb92b2f1e2e8f724cc0b27753aae17eca202b3ef7a5e55772
[INFO] running `Command { std: "docker" "start" "-a" "c95a4db239d6c48eb92b2f1e2e8f724cc0b27753aae17eca202b3ef7a5e55772", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stderr]  --> src/main.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `repositories`
[INFO] [stderr]   --> src/main.rs:37:34
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stderr]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repositories`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `github_token`
[INFO] [stderr]   --> src/main.rs:37:48
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stderr]    |                                                ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_token`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path_to_patch`
[INFO] [stderr]   --> src/main.rs:37:62
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_to_patch`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path_to_origin`
[INFO] [stderr]   --> src/main.rs:37:77
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Command::DistributePatch(repositories, github_token, path_to_patch, path_to_origin) => {
[INFO] [stderr]    |                                                                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_to_origin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]    --> src/main.rs:166:53
[INFO] [stderr]     |
[INFO] [stderr] 166 |     json_patch::patch(&mut origin, &patch).map_err(|err| { ApplicationError(format!("Failed to apply patch from {} to {}", path_to_patch,...
[INFO] [stderr]     |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]    --> src/main.rs:189:67
[INFO] [stderr]     |
[INFO] [stderr] 189 |     write_yaml(&String::from("fixtures/result.yaml"), b).map_err(|err| { ApplicationError(format!("Failed to write file")) } );
[INFO] [stderr]     |                                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: function `write_json` is never used
[INFO] [stderr]    --> src/main.rs:122:4
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn write_json(filename: &String, json: &serde_json::Value) -> Result<(), serde_json::Error> {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `diff` is never used
[INFO] [stderr]    --> src/main.rs:174:4
[INFO] [stderr]     |
[INFO] [stderr] 174 | fn diff(a: &serde_yaml::Value, b: &serde_yaml::Value) {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:166:5
[INFO] [stderr]     |
[INFO] [stderr] 166 |     json_patch::patch(&mut origin, &patch).map_err(|err| { ApplicationError(format!("Failed to apply patch from {} to {}", path_to_patch, path_to_origin)) });
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:189:5
[INFO] [stderr]     |
[INFO] [stderr] 189 |     write_yaml(&String::from("fixtures/result.yaml"), b).map_err(|err| { ApplicationError(format!("Failed to write file")) } );
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: `patch-that-shit` (bin "patch-that-shit" test) generated 11 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/patch_that_shit-35ff17cdb9f6081a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c95a4db239d6c48eb92b2f1e2e8f724cc0b27753aae17eca202b3ef7a5e55772", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c95a4db239d6c48eb92b2f1e2e8f724cc0b27753aae17eca202b3ef7a5e55772", kill_on_drop: false }`
[INFO] [stdout] c95a4db239d6c48eb92b2f1e2e8f724cc0b27753aae17eca202b3ef7a5e55772
