[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmprobinson%2Frgb565" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mprobinson/rgb565 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-11/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/rust-image` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6f8a07eaac03cd415983294fb8de32ce3797ee9afad9673dbc2dc0bff6e49e0b [INFO] running `Command { std: "docker" "start" "-a" "6f8a07eaac03cd415983294fb8de32ce3797ee9afad9673dbc2dc0bff6e49e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f8a07eaac03cd415983294fb8de32ce3797ee9afad9673dbc2dc0bff6e49e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8a07eaac03cd415983294fb8de32ce3797ee9afad9673dbc2dc0bff6e49e0b", kill_on_drop: false }` [INFO] [stdout] 6f8a07eaac03cd415983294fb8de32ce3797ee9afad9673dbc2dc0bff6e49e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d822b4d726ddb171e43cbdac2fb1a0bef0ff5416a8f908ff2a6fc8d3ff5bd9ed [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" "d822b4d726ddb171e43cbdac2fb1a0bef0ff5416a8f908ff2a6fc8d3ff5bd9ed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 (https://github.com/PistonDevelopers/rust-image#5fd9d443) [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[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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] 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] 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[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[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: aborting due to 12 previous errors; 2 warnings emitted [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] 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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "d822b4d726ddb171e43cbdac2fb1a0bef0ff5416a8f908ff2a6fc8d3ff5bd9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d822b4d726ddb171e43cbdac2fb1a0bef0ff5416a8f908ff2a6fc8d3ff5bd9ed", kill_on_drop: false }` [INFO] [stdout] d822b4d726ddb171e43cbdac2fb1a0bef0ff5416a8f908ff2a6fc8d3ff5bd9ed