[INFO] fetching crate image-builder 1.0.2...
[INFO] testing image-builder-1.0.2 against 1.97.0-beta.1 for beta-1.97-1
[INFO] extracting crate image-builder 1.0.2 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate image-builder 1.0.2
[INFO] finished tweaking crates.io crate image-builder 1.0.2
[INFO] tweaked toml for crates.io crate image-builder 1.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate image-builder 1.0.2 on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate image-builder 1.0.2 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.97.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac3b8c9d72eb7ab39d1c8af8f5de95f9a3636dc7cc2a2a0f02c3442abcd27874
[INFO] running `Command { std: "docker" "start" "-a" "ac3b8c9d72eb7ab39d1c8af8f5de95f9a3636dc7cc2a2a0f02c3442abcd27874", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac3b8c9d72eb7ab39d1c8af8f5de95f9a3636dc7cc2a2a0f02c3442abcd27874", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac3b8c9d72eb7ab39d1c8af8f5de95f9a3636dc7cc2a2a0f02c3442abcd27874", kill_on_drop: false }`
[INFO] [stdout] ac3b8c9d72eb7ab39d1c8af8f5de95f9a3636dc7cc2a2a0f02c3442abcd27874
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65b1c7133b1b9be0b8618c1efd6744f3c622e6906db9b7976592bcf235985706
[INFO] running `Command { std: "docker" "start" "-a" "65b1c7133b1b9be0b8618c1efd6744f3c622e6906db9b7976592bcf235985706", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling rayon-core v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling bytemuck v1.12.3
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling half v2.1.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling bit_field v0.10.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling wide v0.7.5
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.2
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.7
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling png v0.17.7
[INFO] [stderr]    Compiling conv v0.3.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling num-complex v0.4.2
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling rayon v1.6.1
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling simba v0.7.3
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling tiff v0.8.1
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling exr v1.5.2
[INFO] [stderr]    Compiling nalgebra v0.30.1
[INFO] [stderr]    Compiling image v0.24.5
[INFO] [stderr]    Compiling imageproc v0.23.0
[INFO] [stderr]    Compiling image-builder v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/picture.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn extract(picture: &Picture) -> PictureValues {
[INFO] [stdout]     |                         ^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn extract(picture: &Picture) -> PictureValues<'_> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.69s
[INFO] running `Command { std: "docker" "inspect" "65b1c7133b1b9be0b8618c1efd6744f3c622e6906db9b7976592bcf235985706", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65b1c7133b1b9be0b8618c1efd6744f3c622e6906db9b7976592bcf235985706", kill_on_drop: false }`
[INFO] [stdout] 65b1c7133b1b9be0b8618c1efd6744f3c622e6906db9b7976592bcf235985706
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d78bee898343da797567188a6a91e2b9f46d540c1b0c4f54b50fce5ecbcc3fb
[INFO] running `Command { std: "docker" "start" "-a" "0d78bee898343da797567188a6a91e2b9f46d540c1b0c4f54b50fce5ecbcc3fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling image-builder v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/picture.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn extract(picture: &Picture) -> PictureValues {
[INFO] [stdout]     |                         ^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn extract(picture: &Picture) -> PictureValues<'_> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/picture.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn extract(picture: &Picture) -> PictureValues {
[INFO] [stdout]     |                         ^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn extract(picture: &Picture) -> PictureValues<'_> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] running `Command { std: "docker" "inspect" "0d78bee898343da797567188a6a91e2b9f46d540c1b0c4f54b50fce5ecbcc3fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d78bee898343da797567188a6a91e2b9f46d540c1b0c4f54b50fce5ecbcc3fb", kill_on_drop: false }`
[INFO] [stdout] 0d78bee898343da797567188a6a91e2b9f46d540c1b0c4f54b50fce5ecbcc3fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 78958d3d24571efcb8d2ebeeab18ec2536657806911d11f09adc66afc2b28da8
[INFO] running `Command { std: "docker" "start" "-a" "78958d3d24571efcb8d2ebeeab18ec2536657806911d11f09adc66afc2b28da8", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/picture.rs:116:25
[INFO] [stderr]     |
[INFO] [stderr] 116 | pub fn extract(picture: &Picture) -> PictureValues {
[INFO] [stderr]     |                         ^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 116 | pub fn extract(picture: &Picture) -> PictureValues<'_> {
[INFO] [stderr]     |                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `image-builder` (lib) generated 1 warning (run `cargo fix --lib -p image-builder` to apply 1 suggestion)
[INFO] [stderr] warning: `image-builder` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_builder-40964bf1fec0f115)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/image_builder-b6974605e047c70d)
[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] [stderr]    Doc-tests image_builder
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test src/picture.rs - picture::Picture::crop (line 68) ... FAILED
[INFO] [stdout] test src/picture.rs - picture::Picture::new (line 36) ... FAILED
[INFO] [stdout] test src/picture.rs - picture::Picture::position (line 81) ... FAILED
[INFO] [stdout] test src/picture.rs - picture::Picture::resize (line 53) ... FAILED
[INFO] [stdout] test src/picture.rs - picture::Picture (line 13) ... FAILED
[INFO] [stdout] test src/image.rs - image::Image (line 51) ... ok
[INFO] [stdout] test src/rect.rs - rect::Rect::position (line 30) ... ok
[INFO] [stdout] test src/text.rs - text::Text::color (line 85) ... ok
[INFO] [stdout] test src/image.rs - image::Image<'a>::add_custom_font (line 96) ... FAILED
[INFO] [stdout] test src/rect.rs - rect::Rect::color (line 56) ... ok
[INFO] [stdout] test src/image.rs - image::Image (line 41) ... ok
[INFO] [stdout] test src/rect.rs - rect::Rect::size (line 43) ... ok
[INFO] [stdout] test src/text.rs - text::Text::font (line 66) ... ok
[INFO] [stdout] test src/text.rs - text::Text::color (line 79) ... ok
[INFO] [stdout] test src/rect.rs - rect::Rect::new (line 15) ... ok
[INFO] [stdout] test src/rect.rs - rect::Rect::color (line 62) ... ok
[INFO] [stdout] test src/image.rs - image::Image<'a>::new (line 72) ... ok
[INFO] [stdout] test src/text.rs - text::Text::size (line 37) ... ok
[INFO] [stdout] test src/text.rs - text::Text::position (line 50) ... ok
[INFO] [stdout] test src/text.rs - text::Text::new (line 18) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/picture.rs - picture::Picture::crop (line 68) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/picture.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | Picture::new("/home/user/logo.png")
[INFO] [stdout]    | ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `DynamicImage`, found `&str`
[INFO] [stdout]    | |
[INFO] [stdout]    | arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/picture.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(img: DynamicImage) -> Picture {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/picture.rs - picture::Picture::new (line 36) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `image`
[INFO] [stdout]   --> src/picture.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | Picture::new(image);
[INFO] [stdout]    |              ^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/picture.rs - picture::Picture::position (line 81) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/picture.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 | Picture::new("/home/user/logo.png")
[INFO] [stdout]    | ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `DynamicImage`, found `&str`
[INFO] [stdout]    | |
[INFO] [stdout]    | arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/picture.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(img: DynamicImage) -> Picture {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/picture.rs - picture::Picture::resize (line 53) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/picture.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 | Picture::new("/home/user/logo.png")
[INFO] [stdout]    | ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `DynamicImage`, found `&str`
[INFO] [stdout]    | |
[INFO] [stdout]    | arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/picture.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(img: DynamicImage) -> Picture {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/picture.rs - picture::Picture (line 13) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/picture.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | Picture::new(file_bytes)
[INFO] [stdout]    | ------------ ^^^^^^^^^^ expected `DynamicImage`, found `Vec<u8>`
[INFO] [stdout]    | |
[INFO] [stdout]    | arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `DynamicImage`
[INFO] [stdout]             found struct `Vec<u8>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/picture.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn new(img: DynamicImage) -> Picture {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/image.rs - image::Image<'a>::add_custom_font (line 96) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (274) panicked at src/image.rs:10:60:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5eea36bbf688 - std[d04d96f94fe49f48]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5eea36bbf688 - std[d04d96f94fe49f48]::backtrace_rs::backtrace::trace_unsynchronized::<std[d04d96f94fe49f48]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5eea36bbf688 - std[d04d96f94fe49f48]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5eea36bbf688 - <<std[d04d96f94fe49f48]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[62a6a15d25c41f78]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5eea36bd007a - <core[62a6a15d25c41f78]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5eea36bd007a - core[62a6a15d25c41f78]::fmt::write
[INFO] [stdout]    6:     0x5eea36bc2da2 - std[d04d96f94fe49f48]::io::default_write_fmt::<std[d04d96f94fe49f48]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5eea36bc2da2 - <std[d04d96f94fe49f48]::sys::stdio::unix::Stderr as std[d04d96f94fe49f48]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5eea36baab16 - <std[d04d96f94fe49f48]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5eea36baab16 - std[d04d96f94fe49f48]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5eea36bbb3c1 - std[d04d96f94fe49f48]::panicking::default_hook
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x5eea36bbb57b - std[d04d96f94fe49f48]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x5eea36baabd2 - std[d04d96f94fe49f48]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x5eea36ba26f9 - std[d04d96f94fe49f48]::sys::backtrace::__rust_end_short_backtrace::<std[d04d96f94fe49f48]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x5eea36bab4bd - __rustc[7f3d614e80e58542]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x5eea36bd076c - core[62a6a15d25c41f78]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x5eea36bd0542 - core[62a6a15d25c41f78]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/result.rs:1867:5
[INFO] [stdout]   17:     0x5eea36b710eb - rust_out[8facb64ca0827c8d]::main::_doctest_main_src_image_rs_96_0
[INFO] [stdout]   18:     0x5eea36b71006 - rust_out[8facb64ca0827c8d]::main
[INFO] [stdout]   19:     0x5eea36b71223 - <fn() as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x5eea36b70fc6 - std[d04d96f94fe49f48]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   21:     0x5eea36b70fd9 - std[d04d96f94fe49f48]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   22:     0x5eea36bbab67 - <&dyn core[62a6a15d25c41f78]::ops::function::Fn<(), Output = i32> + core[62a6a15d25c41f78]::panic::unwind_safe::RefUnwindSafe + core[62a6a15d25c41f78]::marker::Sync as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   23:     0x5eea36bbab67 - std[d04d96f94fe49f48]::panicking::catch_unwind::do_call::<&dyn core[62a6a15d25c41f78]::ops::function::Fn<(), Output = i32> + core[62a6a15d25c41f78]::panic::unwind_safe::RefUnwindSafe + core[62a6a15d25c41f78]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:581:40
[INFO] [stdout]   24:     0x5eea36bbab67 - std[d04d96f94fe49f48]::panicking::catch_unwind::<i32, &dyn core[62a6a15d25c41f78]::ops::function::Fn<(), Output = i32> + core[62a6a15d25c41f78]::panic::unwind_safe::RefUnwindSafe + core[62a6a15d25c41f78]::marker::Sync>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:544:19
[INFO] [stdout]   25:     0x5eea36bbab67 - std[d04d96f94fe49f48]::panic::catch_unwind::<&dyn core[62a6a15d25c41f78]::ops::function::Fn<(), Output = i32> + core[62a6a15d25c41f78]::panic::unwind_safe::RefUnwindSafe + core[62a6a15d25c41f78]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panic.rs:359:14
[INFO] [stdout]   26:     0x5eea36bbab67 - std[d04d96f94fe49f48]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/rt.rs:175:24
[INFO] [stdout]   27:     0x5eea36bbab67 - std[d04d96f94fe49f48]::panicking::catch_unwind::do_call::<std[d04d96f94fe49f48]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x5eea36bbab67 - std[d04d96f94fe49f48]::panicking::catch_unwind::<isize, std[d04d96f94fe49f48]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x5eea36bbab67 - std[d04d96f94fe49f48]::panic::catch_unwind::<std[d04d96f94fe49f48]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5eea36bbab67 - std[d04d96f94fe49f48]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/rt.rs:171:5
[INFO] [stdout]   31:     0x5eea36b70fb1 - std[d04d96f94fe49f48]::rt::lang_start::<()>
[INFO] [stdout]   32:     0x5eea36b71285 - main
[INFO] [stdout]   33:     0x7043b57811ca - <unknown>
[INFO] [stdout]   34:     0x7043b578128b - __libc_start_main
[INFO] [stdout]   35:     0x5eea36b70cf5 - _start
[INFO] [stdout]   36:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/image.rs - image::Image<'a>::add_custom_font (line 96)
[INFO] [stdout]     src/picture.rs - picture::Picture (line 13)
[INFO] [stdout]     src/picture.rs - picture::Picture::crop (line 68)
[INFO] [stdout]     src/picture.rs - picture::Picture::new (line 36)
[INFO] [stdout]     src/picture.rs - picture::Picture::position (line 81)
[INFO] [stdout]     src/picture.rs - picture::Picture::resize (line 53)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 14 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.82s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "78958d3d24571efcb8d2ebeeab18ec2536657806911d11f09adc66afc2b28da8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78958d3d24571efcb8d2ebeeab18ec2536657806911d11f09adc66afc2b28da8", kill_on_drop: false }`
[INFO] [stdout] 78958d3d24571efcb8d2ebeeab18ec2536657806911d11f09adc66afc2b28da8
