[INFO] updating cached repository https://github.com/mprobinson/rgb565
[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] 9515f752ba21cfb4605c344e1ba60b99d2f9de1b
[INFO] checking mprobinson/rgb565 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmprobinson%2Frgb565" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mprobinson/rgb565 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/mprobinson/rgb565
[INFO] finished tweaking git repo https://github.com/mprobinson/rgb565
[INFO] tweaked toml for git repo https://github.com/mprobinson/rgb565 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/mprobinson/rgb565 already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/PistonDevelopers/rust-image`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 7ace01818abc289c73dc225d86a90cbf3221ea21e970db7feb1c27cf95f360e2
[INFO] running `"docker" "start" "-a" "7ace01818abc289c73dc225d86a90cbf3221ea21e970db7feb1c27cf95f360e2"`
[INFO] [stderr]     Checking image v0.23.3 (https://github.com/PistonDevelopers/rust-image#b9d85b55)
[INFO] [stderr]     Checking rgb565 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedWriter`
[INFO] [stderr]  --> src/main.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{File, BufferedWriter};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^^^^^^ no `BufferedWriter` in `io`
[INFO] [stderr]   |               |
[INFO] [stderr]   |               no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`
[INFO] [stderr]  --> src/main.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 | use getopts::{optopt,optflag,getopts};
[INFO] [stderr]   |               ^^^^^^ ^^^^^^^ ^^^^^^^ no `getopts` in the root
[INFO] [stderr]   |               |      |
[INFO] [stderr]   |               |      no `optflag` in the root
[INFO] [stderr]   |               no `optopt` in the root
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `fail` in this scope
[INFO] [stderr]   --> src/main.rs:29:21
[INFO] [stderr]    |
[INFO] [stderr] 29 |         Err(f) => { fail!(f.to_string()) }
[INFO] [stderr]    |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `fail` in this scope
[INFO] [stderr]   --> src/main.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |         fail!(result.err().unwrap());
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:49:28
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let img = image::open(&Path::new(input.unwrap())).unwrap();
[INFO] [stderr]    |                            ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:50:30
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let fout = File::create(&Path::new(output.unwrap())).unwrap();
[INFO] [stderr]    |                              ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/main.rs:17:33
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let args: Vec<String> = os::args();
[INFO] [stderr]    |                                 ^^^^ not found in `os`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `image::GenericImage`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use image::GenericImage;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]  --> src/main.rs:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | extern crate getopts;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedWriter`
[INFO] [stderr]  --> src/main.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{File, BufferedWriter};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^^^^^^ no `BufferedWriter` in `io`
[INFO] [stderr]   |               |
[INFO] [stderr]   |               no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`
[INFO] [stderr]  --> src/main.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 | use getopts::{optopt,optflag,getopts};
[INFO] [stderr]   |               ^^^^^^ ^^^^^^^ ^^^^^^^ no `getopts` in the root
[INFO] [stderr]   |               |      |
[INFO] [stderr]   |               |      no `optflag` in the root
[INFO] [stderr]   |               no `optopt` in the root
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `fail` in this scope
[INFO] [stderr]   --> src/main.rs:29:21
[INFO] [stderr]    |
[INFO] [stderr] 29 |         Err(f) => { fail!(f.to_string()) }
[INFO] [stderr]    |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `fail` in this scope
[INFO] [stderr]   --> src/main.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |         fail!(result.err().unwrap());
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:49:28
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let img = image::open(&Path::new(input.unwrap())).unwrap();
[INFO] [stderr]    |                            ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/main.rs:50:30
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let fout = File::create(&Path::new(output.unwrap())).unwrap();
[INFO] [stderr]    |                              ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/main.rs:17:33
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let args: Vec<String> = os::args();
[INFO] [stderr]    |                                 ^^^^ not found in `os`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `image::GenericImage`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use image::GenericImage;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]  --> src/main.rs:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | extern crate getopts;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `tail` found for struct `std::vec::Vec<std::string::String>` in the current scope
[INFO] [stderr]   --> src/main.rs:27:38
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let matches = match getopts(args.tail(), opts) {
[INFO] [stderr]    |                                      ^^^^ method not found in `std::vec::Vec<std::string::String>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:33:28
[INFO] [stderr]    |
[INFO] [stderr] 33 |         print_help(program.as_slice());
[INFO] [stderr]    |                            ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `dimensions` found for enum `image::DynamicImage` in the current scope
[INFO] [stderr]    --> src/main.rs:53:50
[INFO] [stderr]     |
[INFO] [stderr] 53  |     println!("Converting image of size: {}", img.dimensions());
[INFO] [stderr]     |                                                  ^^^^^^^^^^ method not found in `image::DynamicImage`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/git/checkouts/rust-image-484c00a187a6fc26/b9d85b5/./src/image.rs:546:8
[INFO] [stderr]     |
[INFO] [stderr] 546 |     fn dimensions(&self) -> (u32, u32);
[INFO] [stderr]     |        ----------
[INFO] [stderr]     |        |
[INFO] [stderr]     |        the method is available for `std::boxed::Box<image::DynamicImage>` here
[INFO] [stderr]     |        the method is available for `std::sync::Arc<image::DynamicImage>` here
[INFO] [stderr]     |        the method is available for `std::rc::Rc<image::DynamicImage>` 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] 3   | use image::GenericImageView;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:57:13
[INFO] [stderr]    |
[INFO] [stderr] 57 |         let (_, _, pixeldata) = pixel;
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^   ----- this expression has type `&image::Rgb<u8>`
[INFO] [stderr]    |             |
[INFO] [stderr]    |             expected struct `image::Rgb`, found tuple
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `image::Rgb<u8>`
[INFO] [stderr]                found tuple `(_, _, _)`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 12 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error[E0599]: no method named `tail` found for struct `std::vec::Vec<std::string::String>` in the current scope
[INFO] [stderr]   --> src/main.rs:27:38
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let matches = match getopts(args.tail(), opts) {
[INFO] [stderr]    |                                      ^^^^ method not found in `std::vec::Vec<std::string::String>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:33:28
[INFO] [stderr]    |
[INFO] [stderr] 33 |         print_help(program.as_slice());
[INFO] [stderr]    |                            ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `rgb565`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0599]: no method named `dimensions` found for enum `image::DynamicImage` in the current scope
[INFO] [stderr]    --> src/main.rs:53:50
[INFO] [stderr]     |
[INFO] [stderr] 53  |     println!("Converting image of size: {}", img.dimensions());
[INFO] [stderr]     |                                                  ^^^^^^^^^^ method not found in `image::DynamicImage`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/git/checkouts/rust-image-484c00a187a6fc26/b9d85b5/./src/image.rs:546:8
[INFO] [stderr]     |
[INFO] [stderr] 546 |     fn dimensions(&self) -> (u32, u32);
[INFO] [stderr]     |        ----------
[INFO] [stderr]     |        |
[INFO] [stderr]     |        the method is available for `std::boxed::Box<image::DynamicImage>` here
[INFO] [stderr]     |        the method is available for `std::sync::Arc<image::DynamicImage>` here
[INFO] [stderr]     |        the method is available for `std::rc::Rc<image::DynamicImage>` 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] 3   | use image::GenericImageView;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:57:13
[INFO] [stderr]    |
[INFO] [stderr] 57 |         let (_, _, pixeldata) = pixel;
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^   ----- this expression has type `&image::Rgb<u8>`
[INFO] [stderr]    |             |
[INFO] [stderr]    |             expected struct `image::Rgb`, found tuple
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `image::Rgb<u8>`
[INFO] [stderr]                found tuple `(_, _, _)`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 12 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `rgb565`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "7ace01818abc289c73dc225d86a90cbf3221ea21e970db7feb1c27cf95f360e2"`
[INFO] running `"docker" "rm" "-f" "7ace01818abc289c73dc225d86a90cbf3221ea21e970db7feb1c27cf95f360e2"`
[INFO] [stdout] 7ace01818abc289c73dc225d86a90cbf3221ea21e970db7feb1c27cf95f360e2
