[INFO] fetching crate jpeg2k 0.6.2...
[INFO] testing jpeg2k-0.6.2 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate jpeg2k 0.6.2 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate jpeg2k 0.6.2 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate jpeg2k 0.6.2
[INFO] finished tweaking crates.io crate jpeg2k 0.6.2
[INFO] tweaked toml for crates.io crate jpeg2k 0.6.2 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate crates.io crate jpeg2k 0.6.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d229736ded9635f30f41d33b24cfd0149fc21bac052a112d51cb96298d1449d
[INFO] running `Command { std: "docker" "start" "-a" "5d229736ded9635f30f41d33b24cfd0149fc21bac052a112d51cb96298d1449d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d229736ded9635f30f41d33b24cfd0149fc21bac052a112d51cb96298d1449d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d229736ded9635f30f41d33b24cfd0149fc21bac052a112d51cb96298d1449d", kill_on_drop: false }`
[INFO] [stdout] 5d229736ded9635f30f41d33b24cfd0149fc21bac052a112d51cb96298d1449d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a42cdc30a47fa2624e18a99750bc1da59343ec5f7727e7d0323c8219010fd6d3
[INFO] running `Command { std: "docker" "start" "-a" "a42cdc30a47fa2624e18a99750bc1da59343ec5f7727e7d0323c8219010fd6d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling rayon-core v1.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling weezl v0.1.6
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rayon v1.5.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling openjpeg-sys v1.0.7
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling gif v0.11.3
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling jpeg2k v0.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 19.47s
[INFO] running `Command { std: "docker" "inspect" "a42cdc30a47fa2624e18a99750bc1da59343ec5f7727e7d0323c8219010fd6d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a42cdc30a47fa2624e18a99750bc1da59343ec5f7727e7d0323c8219010fd6d3", kill_on_drop: false }`
[INFO] [stdout] a42cdc30a47fa2624e18a99750bc1da59343ec5f7727e7d0323c8219010fd6d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 599b5c39a0a04d5851041af1eac3d36d953213b2c49fb0d44680ca8de448401a
[INFO] running `Command { std: "docker" "start" "-a" "599b5c39a0a04d5851041af1eac3d36d953213b2c49fb0d44680ca8de448401a", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.7
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling plotters-backend v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling plotters-svg v0.3.1
[INFO] [stderr]    Compiling plotters v0.3.1
[INFO] [stderr]    Compiling jpeg2k v0.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling criterion-plot v0.4.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling criterion v0.3.5
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 18.16s
[INFO] running `Command { std: "docker" "inspect" "599b5c39a0a04d5851041af1eac3d36d953213b2c49fb0d44680ca8de448401a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "599b5c39a0a04d5851041af1eac3d36d953213b2c49fb0d44680ca8de448401a", kill_on_drop: false }`
[INFO] [stdout] 599b5c39a0a04d5851041af1eac3d36d953213b2c49fb0d44680ca8de448401a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fd441e5acafba2e5622a4c833bae5a97d49a75d0efc7e335328cd93bf83c2e31
[INFO] running `Command { std: "docker" "start" "-a" "fd441e5acafba2e5622a4c833bae5a97d49a75d0efc7e335328cd93bf83c2e31", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jpeg2k-c6f1bfbb3d6936b2)
[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 jpeg2k
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] test src/codec.rs - codec::DecodeArea (line 14) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:18:47
[INFO] [stdout]    |
[INFO] [stdout] 7  | / fn main() {
[INFO] [stdout] 8  | |   // Load jpeg 2000 file from file.
[INFO] [stdout] 9  | |   let jp2_image = Image::from_file("./assets/example.j2k")
[INFO] [stdout] 10 | |         .expect("Failed to load j2k file.");
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |   let img: DynamicImage = jp2_image.try_into()?;
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |   img.save("out.png")?;
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, _>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DynamicImage: From<jpeg2k::Image>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 13 |   let img: DynamicImage = jp2_image.try_into()?;
[INFO] [stdout]    |                                     ^^^^^^^^ the trait `From<jpeg2k::Image>` is not implemented for `DynamicImage`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `Into<DynamicImage>` for `jpeg2k::Image`
[INFO] [stdout]    = note: required because of the requirements on the impl of `TryFrom<jpeg2k::Image>` for `DynamicImage`
[INFO] [stdout]    = note: required because of the requirements on the impl of `TryInto<DynamicImage>` for `jpeg2k::Image`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 7  | / fn main() {
[INFO] [stdout] 8  | |   // Load jpeg 2000 file from file.
[INFO] [stdout] 9  | |   let jp2_image = Image::from_file("./assets/example.j2k")
[INFO] [stdout] 10 | |         .expect("Failed to load j2k file.");
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |   img.save("out.png")?;
[INFO] [stdout]    | |                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ImageError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/codec.rs - codec::DecodeArea (line 14) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecodeArea`
[INFO] [stdout]  --> src/codec.rs:15:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let area = DecodeArea::new(10, 10, 200, 200);
[INFO] [stdout]   |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jpeg2k::DecodeArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DecodeArea` in this scope
[INFO] [stdout]  --> src/codec.rs:18:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let area: DecodeArea = "10:10:200:200".parse()?;
[INFO] [stdout]   |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jpeg2k::DecodeArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecodeArea`
[INFO] [stdout]  --> src/codec.rs:19:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | let area = DecodeArea::from_str("10:10:200:200")?;
[INFO] [stdout]   |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jpeg2k::DecodeArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/codec.rs:18:47
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_codec_rs_14_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let area = DecodeArea::new(10, 10, 200, 200);
[INFO] [stdout] 4 | |
[INFO] [stdout] 5 | | // or from a string:
[INFO] [stdout] 6 | | let area: DecodeArea = "10:10:200:200".parse()?;
[INFO] [stdout]   | |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | let area = DecodeArea::from_str("10:10:200:200")?;
[INFO] [stdout] 8 | | } _doctest_main_src_codec_rs_14_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, _>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/codec.rs:19:49
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_codec_rs_14_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let area = DecodeArea::new(10, 10, 200, 200);
[INFO] [stdout] 4 | |
[INFO] [stdout] 5 | | // or from a string:
[INFO] [stdout] 6 | | let area: DecodeArea = "10:10:200:200".parse()?;
[INFO] [stdout] 7 | | let area = DecodeArea::from_str("10:10:200:200")?;
[INFO] [stdout]   | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_codec_rs_14_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/codec.rs - codec::DecodeArea (line 14)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "fd441e5acafba2e5622a4c833bae5a97d49a75d0efc7e335328cd93bf83c2e31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd441e5acafba2e5622a4c833bae5a97d49a75d0efc7e335328cd93bf83c2e31", kill_on_drop: false }`
[INFO] [stdout] fd441e5acafba2e5622a4c833bae5a97d49a75d0efc7e335328cd93bf83c2e31
