[INFO] crate show-image 0.6.2 is already in cache [INFO] checking show-image-0.6.2 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate show-image 0.6.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate show-image 0.6.2 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate show-image 0.6.2 [INFO] finished tweaking crates.io crate show-image 0.6.2 [INFO] tweaked toml for crates.io crate show-image 0.6.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate show-image 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 671210df7a2a939257046a98b054d8834548228150766acb8a9e575ae7523d4e [INFO] running `"docker" "start" "-a" "671210df7a2a939257046a98b054d8834548228150766acb8a9e575ae7523d4e"` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling assert2-macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking assert2 v0.1.2 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking show-image v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/backend/sdl/mod.rs:766:20 [INFO] [stderr] | [INFO] [stderr] 766 | let new_height = (source_h * scale_w).round() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/backend/sdl/mod.rs:770:19 [INFO] [stderr] | [INFO] [stderr] 770 | let new_width = (source_w * scale_h).round() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [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::ImageLuma16(_) => panic!("unsupported pixel format: Luma16"), [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::ImageLumaA16(_) => panic!("unsupported pixel format: LumaA16"), [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::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:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | 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:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | image::DynamicImage::ImageRgb16(_) => panic!("unsupported pixel format: Rgb16"), [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:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | image::DynamicImage::ImageRgba16(_) => panic!("unsupported pixel format: Rgba16"), [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:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | 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:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | 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:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | 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:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | 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:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | image::DynamicImage::ImageLuma16(_) => Err(String::from("unsupported pixel format: Luma16")), [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:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | image::DynamicImage::ImageLumaA16(_) => Err(String::from("unsupported pixel format: LumaA16")), [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:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | 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:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | 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:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | image::DynamicImage::ImageRgb16(_) => Err(String::from("unsupported pixel format: Rgb16")), [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:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | image::DynamicImage::ImageRgba16(_) => Err(String::from("unsupported pixel format: Rgba16")), [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:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | 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:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | 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:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | 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:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | 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:41:4 [INFO] [stderr] | [INFO] [stderr] 41 | 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:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | image::DynamicImage::ImageLuma16(_) => panic!("unsupported pixel format: Luma16"), [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:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | image::DynamicImage::ImageLumaA16(_) => panic!("unsupported pixel format: LumaA16"), [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:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | 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:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | 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:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | image::DynamicImage::ImageRgb16(_) => panic!("unsupported pixel format: Rgb16"), [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:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | image::DynamicImage::ImageRgba16(_) => panic!("unsupported pixel format: Rgba16"), [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:4 [INFO] [stderr] | [INFO] [stderr] 48 | 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:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | 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:58:23 [INFO] [stderr] | [INFO] [stderr] 58 | 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:60:5
[INFO] [stderr] |
[INFO] [stderr] 60 | P: image::Pixel 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:73:5
[INFO] [stderr] |
[INFO] [stderr] 73 | P: image::Pixel >) -> 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:85:65
[INFO] [stderr] |
[INFO] [stderr] 85 | fn into_bytes >) -> 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:90:26
[INFO] [stderr] |
[INFO] [stderr] 90 | fn as_bytes >) -> &[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:90:64
[INFO] [stderr] |
[INFO] [stderr] 90 | fn as_bytes >) -> &[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:97:5
[INFO] [stderr] |
[INFO] [stderr] 97 | P: image::Pixel (image: &image::ImageBuffer ) -> Result