[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#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmprobinson%2Frgb565" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mprobinson/rgb565 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-10/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 45a3a8c2a1582b39ff40e7957f850721e57d20ae0e9dfef69105dda7a382238f [INFO] running `"docker" "start" "-a" "45a3a8c2a1582b39ff40e7957f850721e57d20ae0e9dfef69105dda7a382238f"` [INFO] [stderr] Checking image v0.22.3 (https://github.com/PistonDevelopers/rust-image#e48d283c) [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 = 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] | ^^^^ method not found in `std::vec::Vec` [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^^^^^^^ method not found in `image::DynamicImage` [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[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 = 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] | ^^^^ method not found in `std::vec::Vec` [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] | ^^^^^^^^ method not found in `std::string::String` [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] | ^^^^^^^^^^ method not found in `image::DynamicImage` [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" "45a3a8c2a1582b39ff40e7957f850721e57d20ae0e9dfef69105dda7a382238f"` [INFO] running `"docker" "rm" "-f" "45a3a8c2a1582b39ff40e7957f850721e57d20ae0e9dfef69105dda7a382238f"` [INFO] [stdout] 45a3a8c2a1582b39ff40e7957f850721e57d20ae0e9dfef69105dda7a382238f