[INFO] updating cached repository https://github.com/wikiti/imgprev [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41019c907299522e549af46c10716f941881615b [INFO] testing wikiti/imgprev against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwikiti%2Fimgprev" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wikiti/imgprev on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-5/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 248649493b0002fec27a6aab3c15d16d92ba16aba110c11a45107cfc8d1bf96d [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" "248649493b0002fec27a6aab3c15d16d92ba16aba110c11a45107cfc8d1bf96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "248649493b0002fec27a6aab3c15d16d92ba16aba110c11a45107cfc8d1bf96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248649493b0002fec27a6aab3c15d16d92ba16aba110c11a45107cfc8d1bf96d", kill_on_drop: false }` [INFO] [stdout] 248649493b0002fec27a6aab3c15d16d92ba16aba110c11a45107cfc8d1bf96d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd72b1cea3028c76b3c4126b2588e70cef733a3be2d03a0ea6a50bdcd5ff6144 [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" "fd72b1cea3028c76b3c4126b2588e70cef733a3be2d03a0ea6a50bdcd5ff6144", kill_on_drop: false }` [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling ansi_term v0.8.0 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling 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 item '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 item '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 item '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 `image::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 `image::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 `image::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 `image::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 `image::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 `image::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] running `Command { std: "docker" "inspect" "fd72b1cea3028c76b3c4126b2588e70cef733a3be2d03a0ea6a50bdcd5ff6144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd72b1cea3028c76b3c4126b2588e70cef733a3be2d03a0ea6a50bdcd5ff6144", kill_on_drop: false }` [INFO] [stdout] fd72b1cea3028c76b3c4126b2588e70cef733a3be2d03a0ea6a50bdcd5ff6144