[INFO] cloning repository https://github.com/wikiti/imgprev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wikiti/imgprev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwikiti%2Fimgprev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwikiti%2Fimgprev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41019c907299522e549af46c10716f941881615b [INFO] checking wikiti/imgprev against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwikiti%2Fimgprev" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wikiti/imgprev 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/wikiti/imgprev [INFO] finished tweaking git repo https://github.com/wikiti/imgprev [INFO] tweaked toml for git repo https://github.com/wikiti/imgprev written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/wikiti/imgprev 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] error: the lock file /workspace/builds/worker-9/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/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] 49ebcd7b590f975de045d37434e902e4acaa240fb627c2f8ec23dafc8f57f26d [INFO] running `Command { std: "docker" "start" "-a" "49ebcd7b590f975de045d37434e902e4acaa240fb627c2f8ec23dafc8f57f26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49ebcd7b590f975de045d37434e902e4acaa240fb627c2f8ec23dafc8f57f26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ebcd7b590f975de045d37434e902e4acaa240fb627c2f8ec23dafc8f57f26d", kill_on_drop: false }` [INFO] [stdout] 49ebcd7b590f975de045d37434e902e4acaa240fb627c2f8ec23dafc8f57f26d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b56259cd9b265e7c676c7762ecb97ef0cad2df06d6b6c9cc63cfab387b7ca9be [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" "b56259cd9b265e7c676c7762ecb97ef0cad2df06d6b6c9cc63cfab387b7ca9be", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ansi_term v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [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 rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [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 deflate v0.8.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking imgprev v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate image; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/loader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate image; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/loader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/modes/text.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | // See this chart: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html [INFO] [stdout] 3 | | static ref COLORS: Vec<&'static str> = vec![ [INFO] [stdout] 4 | | " ", ".", "'", "`", "^", "\"", ",", ":", ";", "I", [INFO] [stdout] ... | [INFO] [stdout] 11 | | ]; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/modes/text.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | // See this chart: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html [INFO] [stdout] 3 | | static ref COLORS: Vec<&'static str> = vec![ [INFO] [stdout] 4 | | " ", ".", "'", "`", "^", "\"", ",", ":", ";", "I", [INFO] [stdout] ... | [INFO] [stdout] 11 | | ]; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/modes/ansi.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | // See this chart: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html [INFO] [stdout] 3 | | static ref COLORS: Vec = vec![ [INFO] [stdout] 4 | | 0x000000, 0x800000, 0x008000, 0x808000, 0x000080, 0x800080, 0x008080, 0xc0c0c0, [INFO] [stdout] ... | [INFO] [stdout] 48 | | ]; [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/modes/grayscale.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | // See this chart: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html [INFO] [stdout] 3 | | static ref COLORS: Vec = vec![ [INFO] [stdout] 4 | | 0x080808, 0x121212, 0x1c1c1c, 0x262626, 0x303030, 0x3a3a3a, [INFO] [stdout] ... | [INFO] [stdout] 8 | | ]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/modes/ansi.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | // See this chart: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html [INFO] [stdout] 3 | | static ref COLORS: Vec = vec![ [INFO] [stdout] 4 | | 0x000000, 0x800000, 0x008000, 0x808000, 0x000080, 0x800080, 0x008080, 0xc0c0c0, [INFO] [stdout] ... | [INFO] [stdout] 48 | | ]; [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/modes/grayscale.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | // See this chart: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html [INFO] [stdout] 3 | | static ref COLORS: Vec = vec![ [INFO] [stdout] 4 | | 0x080808, 0x121212, 0x1c1c1c, 0x262626, 0x303030, 0x3a3a3a, [INFO] [stdout] ... | [INFO] [stdout] 8 | | ]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/loader.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | let (real_width, real_height) = 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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::GenericImageView;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/loader.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let (width, height) = 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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::GenericImageView;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/loader.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let value = img.get_pixel(x, y); [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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::GenericImageView;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/loader.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | let (real_width, real_height) = 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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::GenericImageView;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/loader.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let (width, height) = 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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::GenericImageView;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imgprev` [INFO] [stdout] error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/loader.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let value = img.get_pixel(x, y); [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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::GenericImageView;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b56259cd9b265e7c676c7762ecb97ef0cad2df06d6b6c9cc63cfab387b7ca9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56259cd9b265e7c676c7762ecb97ef0cad2df06d6b6c9cc63cfab387b7ca9be", kill_on_drop: false }` [INFO] [stdout] b56259cd9b265e7c676c7762ecb97ef0cad2df06d6b6c9cc63cfab387b7ca9be