[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwikiti%2Fimgprev" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wikiti/imgprev 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/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-1/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 15ae4434af08d6b9e06737dab9cec7e2c4ab9c8ab552a59c9cc3130233d4fd79 [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" "15ae4434af08d6b9e06737dab9cec7e2c4ab9c8ab552a59c9cc3130233d4fd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15ae4434af08d6b9e06737dab9cec7e2c4ab9c8ab552a59c9cc3130233d4fd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ae4434af08d6b9e06737dab9cec7e2c4ab9c8ab552a59c9cc3130233d4fd79", kill_on_drop: false }` [INFO] [stdout] 15ae4434af08d6b9e06737dab9cec7e2c4ab9c8ab552a59c9cc3130233d4fd79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 7e04467b6399f5f99d0c1033a853652a9669a883e49c3ccdf2c3016ff376c089 [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" "7e04467b6399f5f99d0c1033a853652a9669a883e49c3ccdf2c3016ff376c089", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ansi_term v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [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 atty v0.2.14 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.11 [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: 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: 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/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: 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] [stderr] error: could not compile `imgprev` [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] [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e04467b6399f5f99d0c1033a853652a9669a883e49c3ccdf2c3016ff376c089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e04467b6399f5f99d0c1033a853652a9669a883e49c3ccdf2c3016ff376c089", kill_on_drop: false }` [INFO] [stdout] 7e04467b6399f5f99d0c1033a853652a9669a883e49c3ccdf2c3016ff376c089