[INFO] cloning repository https://github.com/mprobinson/rgb565 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mprobinson/rgb565" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmprobinson%2Frgb565", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmprobinson%2Frgb565'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9515f752ba21cfb4605c344e1ba60b99d2f9de1b [INFO] checking mprobinson/rgb565 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmprobinson%2Frgb565" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mprobinson/rgb565 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/mprobinson/rgb565 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/rust-image` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/rust-image` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac20e3c64cda7ed5997eb017ee19b4d36f38d01cbc75fa807821d11ab619dfe [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" "eac20e3c64cda7ed5997eb017ee19b4d36f38d01cbc75fa807821d11ab619dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac20e3c64cda7ed5997eb017ee19b4d36f38d01cbc75fa807821d11ab619dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac20e3c64cda7ed5997eb017ee19b4d36f38d01cbc75fa807821d11ab619dfe", kill_on_drop: false }` [INFO] [stdout] eac20e3c64cda7ed5997eb017ee19b4d36f38d01cbc75fa807821d11ab619dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd581829ec02c03942681e9b586a58e41e47a0fa859cd6deba86f8da39045a60 [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" "cd581829ec02c03942681e9b586a58e41e47a0fa859cd6deba86f8da39045a60", kill_on_drop: false }` [INFO] [stderr] Checking image v0.23.11 (https://github.com/PistonDevelopers/rust-image#e0261ce3) [INFO] [stderr] Checking rgb565 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedWriter` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{File, BufferedWriter}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ no `BufferedWriter` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use getopts::{optopt,optflag,getopts}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `optflag` in the root [INFO] [stdout] | no `optopt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | Err(f) => { fail!(f.to_string()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | fail!(result.err().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let args: Vec = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | let img = image::open(&Path::new(input.unwrap())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let fout = File::create(&Path::new(output.unwrap())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedWriter` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{File, BufferedWriter}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ no `BufferedWriter` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use getopts::{optopt,optflag,getopts}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^ no `getopts` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `optflag` in the root [INFO] [stdout] | no `optopt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | Err(f) => { fail!(f.to_string()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | fail!(result.err().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let args: Vec = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | let img = image::open(&Path::new(input.unwrap())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let fout = File::create(&Path::new(output.unwrap())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | let matches = match getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | let matches = match getopts(args.tail(), opts) { [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | print_help(program.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | println!("Converting image of size: {}", img.dimensions()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/main.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | for pixel in img.to_rgb().pixels() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | print_help(program.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let (_, _, pixeldata) = pixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----- this expression has type `&Rgb` [INFO] [stdout] | | [INFO] [stdout] | expected struct `Rgb`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rgb` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | println!("Converting image of size: {}", img.dimensions()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/main.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | for pixel in img.to_rgb().pixels() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let (_, _, pixeldata) = pixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----- this expression has type `&Rgb` [INFO] [stdout] | | [INFO] [stdout] | expected struct `Rgb`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rgb` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb565` [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cd581829ec02c03942681e9b586a58e41e47a0fa859cd6deba86f8da39045a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd581829ec02c03942681e9b586a58e41e47a0fa859cd6deba86f8da39045a60", kill_on_drop: false }` [INFO] [stdout] cd581829ec02c03942681e9b586a58e41e47a0fa859cd6deba86f8da39045a60