[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadolfosilva%2Fvcrust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adolfosilva/vcrust 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/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-7/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" "+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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 0e2714c869aacff2529e597376fab4fd785502872edbe898d970a42b0a4cff1e [INFO] running `Command { std: "docker" "start" "-a" "0e2714c869aacff2529e597376fab4fd785502872edbe898d970a42b0a4cff1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e2714c869aacff2529e597376fab4fd785502872edbe898d970a42b0a4cff1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e2714c869aacff2529e597376fab4fd785502872edbe898d970a42b0a4cff1e", kill_on_drop: false }` [INFO] [stdout] 0e2714c869aacff2529e597376fab4fd785502872edbe898d970a42b0a4cff1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] a1671660da2c2b7b956a29847f7a8cab6626f1f4cc70154a7abed5e558ea84c1 [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" "a1671660da2c2b7b956a29847f7a8cab6626f1f4cc70154a7abed5e558ea84c1", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.44 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking log v0.3.7 [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: 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: 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: 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: unused `std::result::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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "a1671660da2c2b7b956a29847f7a8cab6626f1f4cc70154a7abed5e558ea84c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1671660da2c2b7b956a29847f7a8cab6626f1f4cc70154a7abed5e558ea84c1", kill_on_drop: false }` [INFO] [stdout] a1671660da2c2b7b956a29847f7a8cab6626f1f4cc70154a7abed5e558ea84c1