[INFO] cloning repository https://github.com/adolfosilva/vcrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adolfosilva/vcrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadolfosilva%2Fvcrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadolfosilva%2Fvcrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5be43fade21a56d8f69c8f0f5a928fdc99cea47f [INFO] checking adolfosilva/vcrust against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadolfosilva%2Fvcrust" "/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/adolfosilva/vcrust on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adolfosilva/vcrust [INFO] finished tweaking git repo https://github.com/adolfosilva/vcrust [INFO] tweaked toml for git repo https://github.com/adolfosilva/vcrust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/adolfosilva/vcrust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4af6053d36079e0221eece30c1c933939427d452e8508720f0226ae9b39700e6 [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" "4af6053d36079e0221eece30c1c933939427d452e8508720f0226ae9b39700e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4af6053d36079e0221eece30c1c933939427d452e8508720f0226ae9b39700e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af6053d36079e0221eece30c1c933939427d452e8508720f0226ae9b39700e6", kill_on_drop: false }` [INFO] [stdout] 4af6053d36079e0221eece30c1c933939427d452e8508720f0226ae9b39700e6 [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eac1d068b4d383b15f6a42bf8a9cca427faeeb7ccf4e50ef7c7adc8f67cf8d0 [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" "9eac1d068b4d383b15f6a42bf8a9cca427faeeb7ccf4e50ef7c7adc8f67cf8d0", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.44 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling vcrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `repeat` is imported redundantly [INFO] [stdout] --> src/image.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::repeat; [INFO] [stdout] | ----------------- the item `repeat` is already imported here [INFO] [stdout] ... [INFO] [stdout] 100 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | let mut bytes = try!(File::open(filepath)).bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | let format = try!(Image::read_magic_number(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | ImageType::Binary => try!(Image::read_header_pbm(&mut bytes)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | let (w, h, m) = try!(Image::read_header_pgm_or_ppm(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | let (width, height) = try!(Image::read_header_pbm(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `repeat` is imported redundantly [INFO] [stdout] --> src/image.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::repeat; [INFO] [stdout] | ----------------- the item `repeat` is already imported here [INFO] [stdout] ... [INFO] [stdout] 100 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | let mut bytes = try!(File::open(filepath)).bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | let format = try!(Image::read_magic_number(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | ImageType::Binary => try!(Image::read_header_pbm(&mut bytes)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | let (w, h, m) = try!(Image::read_header_pgm_or_ppm(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/image.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | let (width, height) = try!(Image::read_header_pbm(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::repeat` [INFO] [stdout] --> src/ops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageType` [INFO] [stdout] --> src/ops.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{Image, ImageType, Channel}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut bits = bytes.map(|b| b.unwrap()).collect::>(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut bits = bytes.map(|b| b.unwrap()).collect::>(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/image.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | bytes.map(|b| b.unwrap()).take_while(|b| *b != b'\n').collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/image.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | bytes.map(|b| b.unwrap()).take_while(|b| *b != b'\n').collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/image.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | img.write("image/barbara2.pgm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "9eac1d068b4d383b15f6a42bf8a9cca427faeeb7ccf4e50ef7c7adc8f67cf8d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eac1d068b4d383b15f6a42bf8a9cca427faeeb7ccf4e50ef7c7adc8f67cf8d0", kill_on_drop: false }` [INFO] [stdout] 9eac1d068b4d383b15f6a42bf8a9cca427faeeb7ccf4e50ef7c7adc8f67cf8d0