[INFO] crate show-image 0.4.2 is already in cache [INFO] checking show-image-0.4.2 against master#0cbcb17d3306d6e22eafc2c05ce885db97d0189c for pr-68766 [INFO] extracting crate show-image 0.4.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate show-image 0.4.2 on toolchain 0cbcb17d3306d6e22eafc2c05ce885db97d0189c [INFO] running `"/workspace/cargo-home/bin/cargo" "+0cbcb17d3306d6e22eafc2c05ce885db97d0189c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate show-image 0.4.2 [INFO] finished tweaking crates.io crate show-image 0.4.2 [INFO] tweaked toml for crates.io crate show-image 0.4.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate show-image 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+0cbcb17d3306d6e22eafc2c05ce885db97d0189c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+0cbcb17d3306d6e22eafc2c05ce885db97d0189c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5b366c2ac93e3b4a5130036d4d7fb26363f8605b3218fdfd6a536890288ad4d [INFO] running `"docker" "start" "-a" "e5b366c2ac93e3b4a5130036d4d7fb26363f8605b3218fdfd6a536890288ad4d"` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling assert2-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking assert2 v0.1.1 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking keyboard-types v0.4.4 [INFO] [stderr] Checking show-image v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl ImageData for image::DynamicImage { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | image::DynamicImage::ImageLuma8(x) => into_bytes(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | image::DynamicImage::ImageLumaA8(x) => into_bytes(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | image::DynamicImage::ImageRgb8(x) => into_bytes(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | image::DynamicImage::ImageRgba8(x) => into_bytes(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | image::DynamicImage::ImageBgr8(x) => into_bytes(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | image::DynamicImage::ImageBgra8(x) => into_bytes(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | image::DynamicImage::ImageLuma8(x) => info(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | image::DynamicImage::ImageLumaA8(x) => info(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | image::DynamicImage::ImageRgb8(x) => info(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | image::DynamicImage::ImageRgba8(x) => info(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | image::DynamicImage::ImageBgr8(x) => info(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | image::DynamicImage::ImageBgra8(x) => info(x), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | impl ImageData for &'_ image::DynamicImage { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | image::DynamicImage::ImageLuma8(x) => Box::from(as_bytes(x)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | image::DynamicImage::ImageLumaA8(x) => Box::from(as_bytes(x)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | image::DynamicImage::ImageRgb8(x) => Box::from(as_bytes(x)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:35:4 [INFO] [stderr] | [INFO] [stderr] 35 | image::DynamicImage::ImageRgba8(x) => Box::from(as_bytes(x)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | image::DynamicImage::ImageBgr8(x) => Box::from(as_bytes(x)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | image::DynamicImage::ImageBgra8(x) => Box::from(as_bytes(x)), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | impl

ImageData for image::ImageBuffer> [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | P: image::Pixel + 'static, [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | impl

ImageData for &'_ image::ImageBuffer> [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | P: image::Pixel + 'static, [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | fn into_bytes>(buffer: image::ImageBuffer>) -> Box<[u8]> { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:73:65 [INFO] [stderr] | [INFO] [stderr] 73 | fn into_bytes>(buffer: image::ImageBuffer>) -> Box<[u8]> { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:78:26 [INFO] [stderr] | [INFO] [stderr] 78 | fn as_bytes>(buffer: &image::ImageBuffer>) -> &[u8] { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:78:64 [INFO] [stderr] | [INFO] [stderr] 78 | fn as_bytes>(buffer: &image::ImageBuffer>) -> &[u8] { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | P: image::Pixel + 'static, [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:83:23 [INFO] [stderr] | [INFO] [stderr] 83 | fn info(image: &image::ImageBuffer) -> Result [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:97:20 [INFO] [stderr] | [INFO] [stderr] 97 | fn pixel_format() -> Result { [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:99:3 [INFO] [stderr] | [INFO] [stderr] 99 | image::ColorType::BGR(8) => Ok(PixelFormat::Bgr8), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:100:3 [INFO] [stderr] | [INFO] [stderr] 100 | image::ColorType::BGRA(8) => Ok(PixelFormat::Bgra8), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:101:3 [INFO] [stderr] | [INFO] [stderr] 101 | image::ColorType::RGB(8) => Ok(PixelFormat::Rgb8), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:102:3 [INFO] [stderr] | [INFO] [stderr] 102 | image::ColorType::RGBA(8) => Ok(PixelFormat::Rgba8), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> src/features/image.rs:103:3 [INFO] [stderr] | [INFO] [stderr] 103 | image::ColorType::Gray(8) => Ok(PixelFormat::Mono8), [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | tensor: &'a tch::Tensor, [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:159:24 [INFO] [stderr] | [INFO] [stderr] 159 | impl TensorAsImage for tch::Tensor { [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:195:25 [INFO] [stderr] | [INFO] [stderr] 195 | fn tensor_info(tensor: &tch::Tensor, pixel_format: PixelFormat, planar: bool) -> Result<(bool, ImageInfo), String> { [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:225:31 [INFO] [stderr] | [INFO] [stderr] 225 | fn guess_tensor_info(tensor: &tch::Tensor, color_format: ColorFormat) -> Result<(bool, ImageInfo), String> { [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:258:14 [INFO] [stderr] | [INFO] [stderr] 258 | let data = tch::Tensor::of_slice(&(0..120).collect::>()); [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:287:14 [INFO] [stderr] | [INFO] [stderr] 287 | let data = tch::Tensor::of_slice(&(0..60).collect::>()); [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> src/features/tch.rs:321:14 [INFO] [stderr] | [INFO] [stderr] 321 | let data = tch::Tensor::of_slice(&(0..60).collect::>()); [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] error: aborting due to 43 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `show-image`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `image` [INFO] [stderr] --> examples/show-image.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | let image = image::open(path) [INFO] [stderr] | ^^^^^ use of undeclared type or module `image` [INFO] [stderr] [INFO] [stderr] warning: unused import: `show_image::ImageData` [INFO] [stderr] --> examples/show-image.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use show_image::ImageData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `show-image`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `show_image::tch` [INFO] [stderr] --> examples/show-image-tch.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use show_image::tch::TensorAsImage; [INFO] [stderr] | ^^^ could not find `tch` in `show_image` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tch` [INFO] [stderr] --> examples/show-image-tch.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | let tensor = tch::vision::imagenet::load_image(&args[1]) [INFO] [stderr] | ^^^ use of undeclared type or module `tch` [INFO] [stderr] [INFO] [stderr] warning: unused import: `show_image::ImageData` [INFO] [stderr] --> examples/show-image-tch.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use show_image::ImageData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `show-image`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e5b366c2ac93e3b4a5130036d4d7fb26363f8605b3218fdfd6a536890288ad4d"` [INFO] running `"docker" "rm" "-f" "e5b366c2ac93e3b4a5130036d4d7fb26363f8605b3218fdfd6a536890288ad4d"` [INFO] [stdout] e5b366c2ac93e3b4a5130036d4d7fb26363f8605b3218fdfd6a536890288ad4d