[INFO] updating cached repository https://github.com/colatkinson/image_hider [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a1ab6e7b61fa7e22a7572920e5a83ab7d531f121 [INFO] testing colatkinson/image_hider against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolatkinson%2Fimage_hider" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colatkinson/image_hider on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/colatkinson/image_hider [INFO] finished tweaking git repo https://github.com/colatkinson/image_hider [INFO] tweaked toml for git repo https://github.com/colatkinson/image_hider written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/colatkinson/image_hider already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 2d801347b8131d0789cd0309f1cc8507eefbe4ba6e6eac074a22a9ed5b04612b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "2d801347b8131d0789cd0309f1cc8507eefbe4ba6e6eac074a22a9ed5b04612b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling image_hider v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RGBA` in crate `image` [INFO] [stderr] --> src/lib.rs:88:58 [INFO] [stderr] | [INFO] [stderr] 88 | try!(enc.encode(&buf, img_size, img_size, image::RGBA(8))); [INFO] [stderr] | ^^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | let mut file = try!(File::create(&Path::new(out_file))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | try!(file.write_all(buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | let mut file = try!(File::open(&Path::new(in_file))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | try!(file.read_to_end(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | try!(enc.encode(&buf, img_size, img_size, image::RGBA(8))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:107:15 [INFO] [stderr] | [INFO] [stderr] 107 | let img = try!(image::load_from_memory_with_format(in_buf, image::ImageFormat::PNG)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stderr] --> src/lib.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use image::{GenericImage, Pixel}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:49:58 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn read_file_bytes(in_file: &str) -> std::io::Result<(Vec)> { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `PNG` found for enum `image::ImageFormat` in the current scope [INFO] [stderr] --> src/lib.rs:107:84 [INFO] [stderr] | [INFO] [stderr] 107 | let img = try!(image::load_from_memory_with_format(in_buf, image::ImageFormat::PNG)); [INFO] [stderr] | ^^^ variant or associated item not found in `image::ImageFormat` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `pixels` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/lib.rs:111:30 [INFO] [stderr] | [INFO] [stderr] 111 | for (_, _, pixel) in img.pixels() { [INFO] [stderr] | ^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/image.rs:588:8 [INFO] [stderr] | [INFO] [stderr] 588 | fn pixels(&self) -> Pixels { [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 18 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Pixel` [INFO] [stderr] --> src/lib.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | use image::{GenericImage, Pixel}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `image_hider`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2d801347b8131d0789cd0309f1cc8507eefbe4ba6e6eac074a22a9ed5b04612b"` [INFO] running `"docker" "rm" "-f" "2d801347b8131d0789cd0309f1cc8507eefbe4ba6e6eac074a22a9ed5b04612b"` [INFO] [stdout] 2d801347b8131d0789cd0309f1cc8507eefbe4ba6e6eac074a22a9ed5b04612b