[INFO] cloning repository https://github.com/jeyj0/rust-img-diff
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeyj0/rust-img-diff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeyj0%2Frust-img-diff", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeyj0%2Frust-img-diff'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06c20f05762235aec34e4186bba7831e53e10f58
[INFO] testing jeyj0/rust-img-diff against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeyj0%2Frust-img-diff" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jeyj0/rust-img-diff
[INFO] finished tweaking git repo https://github.com/jeyj0/rust-img-diff
[INFO] tweaked toml for git repo https://github.com/jeyj0/rust-img-diff written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jeyj0/rust-img-diff on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jeyj0/rust-img-diff 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6
[INFO] running `Command { std: "docker" "start" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rayon-core v1.6.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling png v0.15.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rayon v1.2.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling rust-img-diff v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         panic!(res.unwrap_err());
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box<dyn std::any::Any + Send>`
[INFO] [stdout]    |
[INFO] [stdout] 71 |         panic!("{:?}", res.unwrap_err());
[INFO] [stdout]    |                +++++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 71 -         panic!(res.unwrap_err());
[INFO] [stdout] 71 +         std::panic::panic_any(res.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 25.06s
[INFO] running `Command { std: "docker" "inspect" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         panic!(res.unwrap_err());
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box<dyn std::any::Any + Send>`
[INFO] [stdout]    |
[INFO] [stdout] 71 |         panic!("{:?}", res.unwrap_err());
[INFO] [stdout]    |                +++++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 71 -         panic!(res.unwrap_err());
[INFO] [stdout] 71 +         std::panic::panic_any(res.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-img-diff v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         panic!(res.unwrap_err());
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box<dyn std::any::Any + Send>`
[INFO] [stdout]    |
[INFO] [stdout] 71 |         panic!("{:?}", res.unwrap_err());
[INFO] [stdout]    |                +++++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 71 -         panic!(res.unwrap_err());
[INFO] [stdout] 71 +         std::panic::panic_any(res.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3.73s
[INFO] running `Command { std: "docker" "inspect" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/lib.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |         panic!(res.unwrap_err());
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{:?}" format string to use the `Debug` implementation of `Box<dyn std::any::Any + Send>`
[INFO] [stderr]    |
[INFO] [stderr] 71 |         panic!("{:?}", res.unwrap_err());
[INFO] [stderr]    |                +++++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 71 -         panic!(res.unwrap_err());
[INFO] [stderr] 71 +         std::panic::panic_any(res.unwrap_err());
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-img-diff` (lib) generated 1 warning (run `cargo fix --lib -p rust-img-diff` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-img-diff` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/rust_img_diff-1d58e79640de4eb9)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::test_assert_eq_or_save_diff ... ok
[INFO] [stdout] test tests::test_assert_eq_or_save_diff_should_panic_when_saving_fails - should panic ... ok
[INFO] [stdout] test tests::test_assert_eq_or_save_diff_should_panic - should panic ... FAILED
[INFO] [stdout] test tests::test_generate_diff_image ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_assert_eq_or_save_diff_should_panic stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_assert_eq_or_save_diff_should_panic' (1070) panicked at src/lib.rs:39:19:
[INFO] [stdout] Images are not equal. Could not save diff to disk.
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e9d6cd4c7a1 - <<std[104cf6e2632825ea]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5e9d6cd619ca - core[7c831bd917ebf35f]::fmt::write
[INFO] [stdout]    2:     0x5e9d6cd50e7c - <alloc[2fdc3f7464fcf288]::vec::Vec<u8> as core[7c831bd917ebf35f]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5e9d6cd28a46 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5e9d6cd44d39 - std[104cf6e2632825ea]::panicking::default_hook
[INFO] [stdout]    5:     0x5e9d6cc7ffc0 - test[73009c9f9aebf890]::test_main_inner::<test[73009c9f9aebf890]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5e9d6cd45062 - std[104cf6e2632825ea]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5e9d6cd280ac - std[104cf6e2632825ea]::panicking::begin_panic::<&str>::{closure#0}
[INFO] [stdout]    8:     0x5e9d6cd21449 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace::<std[104cf6e2632825ea]::panicking::begin_panic<&str>::{closure#0}, !>
[INFO] [stdout]    9:     0x5e9d6cd1e64b - std[104cf6e2632825ea]::panicking::begin_panic::<&str>
[INFO] [stdout]   10:     0x5e9d6cc5ac92 - rust_img_diff[3062dfb06e4a8ac7]::save_diff_to_disk_and_panic
[INFO] [stdout]   11:     0x5e9d6cc5aa48 - rust_img_diff[3062dfb06e4a8ac7]::assert_eq_or_save_diff
[INFO] [stdout]   12:     0x5e9d6cc5e3c9 - <rust_img_diff[3062dfb06e4a8ac7]::tests::test_assert_eq_or_save_diff_should_panic::{closure#0} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x5e9d6cc732ab - test[73009c9f9aebf890]::__rust_begin_short_backtrace::<core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>>
[INFO] [stdout]   14:     0x5e9d6cc80915 - test[73009c9f9aebf890]::run_test::{closure#0}
[INFO] [stdout]   15:     0x5e9d6cc79cd4 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<test[73009c9f9aebf890]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x5e9d6cc83a72 - <std[104cf6e2632825ea]::thread::lifecycle::spawn_unchecked<test[73009c9f9aebf890]::run_test::{closure#1}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x5e9d6cd4c069 - <std[104cf6e2632825ea]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x796d78c9607a - <unknown>
[INFO] [stdout]   19:     0x796d78d29534 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] note: panic did not contain expected string
[INFO] [stdout]       panic message: "Images are not equal. Could not save diff to disk."
[INFO] [stdout]  expected substring: "Images are not equal. Diff saved to ./test-output/test_assert_eq_or_save_diff_should_panic.png"
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_assert_eq_or_save_diff_should_panic
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6", kill_on_drop: false }`
[INFO] [stdout] 38158e0967f469e09cfb20c1f7685a117832b098d60cbfe2f66d40bc1bb5b5f6
