[INFO] cloning repository https://github.com/martinhath/jpeg-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinhath/jpeg-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3a40cc4c31d5a46e36514cc2c6abc6f1a6caaa1 [INFO] checking martinhath/jpeg-rust against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinhath/jpeg-rust on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martinhath/jpeg-rust [INFO] finished tweaking git repo https://github.com/martinhath/jpeg-rust [INFO] tweaked toml for git repo https://github.com/martinhath/jpeg-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/martinhath/jpeg-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.4.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3509df2617888ca0e0692b191feddca0dd42d27aeb402a83847df95cb53c576f [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" "3509df2617888ca0e0692b191feddca0dd42d27aeb402a83847df95cb53c576f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3509df2617888ca0e0692b191feddca0dd42d27aeb402a83847df95cb53c576f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3509df2617888ca0e0692b191feddca0dd42d27aeb402a83847df95cb53c576f", kill_on_drop: false }` [INFO] [stdout] 3509df2617888ca0e0692b191feddca0dd42d27aeb402a83847df95cb53c576f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab9f8f84c365dcffbcc64887a2160e1e070a49f5c392d989288c34de6737831 [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" "8ab9f8f84c365dcffbcc64887a2160e1e070a49f5c392d989288c34de6737831", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.4.18 [INFO] [stderr] Checking jpeg-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(file.read_to_end(&mut 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/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(file.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/jpeg/mod.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 417 | return Ok(image); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 421 | i += bytes_read + bytes_skipped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/jpeg/mod.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 417 | return Ok(image); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 421 | i += bytes_read + bytes_skipped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> src/jpeg/decoder.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | |x, y, max_x, max_y, x_factor, y_factor, max_x_factor, max_y_factor| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_factor` [INFO] [stdout] --> src/jpeg/decoder.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let block_factor = max_block_hori_scale * max_block_vert_scale; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_i` [INFO] [stdout] --> src/jpeg/decoder.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | let max_i = stride - start_x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> src/jpeg/decoder.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | |x, y, max_x, max_y, x_factor, y_factor, max_x_factor, max_y_factor| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_factor` [INFO] [stdout] --> src/jpeg/decoder.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let block_factor = max_block_hori_scale * max_block_vert_scale; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_i` [INFO] [stdout] --> src/jpeg/decoder.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | let max_i = stride - start_x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockSlice` [INFO] [stdout] --> src/jpeg/decoder.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type BlockSlice = [f32]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockSlice` [INFO] [stdout] --> src/jpeg/decoder.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type BlockSlice = [f32]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "8ab9f8f84c365dcffbcc64887a2160e1e070a49f5c392d989288c34de6737831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab9f8f84c365dcffbcc64887a2160e1e070a49f5c392d989288c34de6737831", kill_on_drop: false }` [INFO] [stdout] 8ab9f8f84c365dcffbcc64887a2160e1e070a49f5c392d989288c34de6737831