[INFO] updating cached repository mprobinson/rgb565 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mprobinson/rgb565 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mprobinson/rgb565" "work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mprobinson/rgb565"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mprobinson/rgb565'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mprobinson/rgb565" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mprobinson/rgb565"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mprobinson/rgb565'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9515f752ba21cfb4605c344e1ba60b99d2f9de1b [INFO] sha for GitHub repo mprobinson/rgb565: 9515f752ba21cfb4605c344e1ba60b99d2f9de1b [INFO] validating manifest of mprobinson/rgb565 on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mprobinson/rgb565 on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mprobinson/rgb565 [INFO] finished frobbing mprobinson/rgb565 [INFO] frobbed toml for mprobinson/rgb565 written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mprobinson/rgb565/Cargo.toml [INFO] started frobbing mprobinson/rgb565 [INFO] finished frobbing mprobinson/rgb565 [INFO] frobbed toml for mprobinson/rgb565 written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mprobinson/rgb565/Cargo.toml [INFO] crate mprobinson/rgb565 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mprobinson/rgb565/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/rust-image` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/rust-image` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mprobinson/rgb565 against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-7/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mprobinson/rgb565:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 967eca9b4865df70d578028384897751da2f08989390e7c3dde3a94b0588cbc3 [INFO] running `"docker" "start" "-a" "967eca9b4865df70d578028384897751da2f08989390e7c3dde3a94b0588cbc3"` [INFO] [stderr] Checking image v0.21.0 (https://github.com/PistonDevelopers/rust-image#86f735d3) [INFO] [stderr] Checking rgb565 v0.0.1 (/opt/crater/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[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: 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[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:17:33 [INFO] [stderr] | [INFO] [stderr] 17 | let args: Vec = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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[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: 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[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:17:33 [INFO] [stderr] | [INFO] [stderr] 17 | let args: Vec = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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 type `std::vec::Vec` 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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dimensions` found for type `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] | ^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^ expected struct `image::Rgb`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `image::Rgb` [INFO] [stderr] found type `(_, _, _)` [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` 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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dimensions` found for type `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] | ^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^ expected struct `image::Rgb`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `image::Rgb` [INFO] [stderr] found type `(_, _, _)` [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" "967eca9b4865df70d578028384897751da2f08989390e7c3dde3a94b0588cbc3"` [INFO] running `"docker" "rm" "-f" "967eca9b4865df70d578028384897751da2f08989390e7c3dde3a94b0588cbc3"` [INFO] [stdout] 967eca9b4865df70d578028384897751da2f08989390e7c3dde3a94b0588cbc3