[INFO] updating cached repository https://github.com/PeterHatch/color-smash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dddc315e7374940b7780528b841a91837dfd8854 [INFO] testing PeterHatch/color-smash against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeterHatch/color-smash on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PeterHatch/color-smash [INFO] finished tweaking git repo https://github.com/PeterHatch/color-smash [INFO] tweaked toml for git repo https://github.com/PeterHatch/color-smash written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/PeterHatch/color-smash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c431322e225fb38d1d37094b71f2a6c3edcbea82a213743edfa2b6cad1f72a3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2c431322e225fb38d1d37094b71f2a6c3edcbea82a213743edfa2b6cad1f72a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c431322e225fb38d1d37094b71f2a6c3edcbea82a213743edfa2b6cad1f72a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c431322e225fb38d1d37094b71f2a6c3edcbea82a213743edfa2b6cad1f72a3", kill_on_drop: false }` [INFO] [stdout] 2c431322e225fb38d1d37094b71f2a6c3edcbea82a213743edfa2b6cad1f72a3 [INFO] running `Command { std: "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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef34c63e97b508e34e28fd4bfb69572e7f6b9f275ade9647f5d536219ce6dda [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fef34c63e97b508e34e28fd4bfb69572e7f6b9f275ade9647f5d536219ce6dda", kill_on_drop: false }` [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling ordered-float v2.0.0 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling color_smash v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `png::HasParameters` [INFO] [stdout] --> src/images/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use png::HasParameters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `HasParameters` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let images = try!(open_images(input_paths)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write_pngs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let mut writer = try!(encoder.write_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_image_data(&indexed_image_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/color/rgb5a3/mod.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 1...6 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `image_lib::Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | Pixel { [INFO] [stdout] | ----- `image_lib::Rgba` is a tuple struct, use the appropriate syntax: `image_lib::Rgba(/* fields */)` [INFO] [stdout] 95 | data: [r, g, b, 0xFF], [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.8/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `image_lib::Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `image_lib::Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgb5a3/mod.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Pixel { data: [r, g, b, a] } [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `image_lib::Rgba` is a tuple struct, use the appropriate syntax: `image_lib::Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.8/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `image_lib::Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `image_lib::Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgba8.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | data: Pixel { data: [0, 0, 0, 0] }, [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `image_lib::Rgba` is a tuple struct, use the appropriate syntax: `image_lib::Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.8/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `image_lib::Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `image_lib::Rgba` has no field named `data` [INFO] [stdout] --> src/color/rgba8.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | data: Pixel { data: [r, g, b, a] }, [INFO] [stdout] | ----- ^^^^ field does not exist [INFO] [stdout] | | [INFO] [stdout] | `image_lib::Rgba` is a tuple struct, use the appropriate syntax: `image_lib::Rgba(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.8/./src/color.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Rgba, 4, 1, "RGBA", ColorType::Rgba8, ColorType::Rgba16, #[doc = "RGB colors + alpha channel"]; [INFO] [stdout] | ---- `image_lib::Rgba` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for struct `png::Encoder<&std::fs::File>` in the current scope [INFO] [stdout] --> src/images/mod.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | .set(png::ColorType::Indexed) [INFO] [stdout] | ^^^ method not found in `png::Encoder<&std::fs::File>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gif-0.10.3/src/traits.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn set>(&mut self, value: T) -> >::Result { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>` here [INFO] [stdout] | the method is available for `std::pin::Pin>` here [INFO] [stdout] | the method is available for `std::sync::Arc>` here [INFO] [stdout] | the method is available for `std::rc::Rc>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use gif::traits::SetParameter;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `color_smash`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fef34c63e97b508e34e28fd4bfb69572e7f6b9f275ade9647f5d536219ce6dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef34c63e97b508e34e28fd4bfb69572e7f6b9f275ade9647f5d536219ce6dda", kill_on_drop: false }` [INFO] [stdout] fef34c63e97b508e34e28fd4bfb69572e7f6b9f275ade9647f5d536219ce6dda