[INFO] fetching crate lightfield_loader 0.3.0... [INFO] checking lightfield_loader-0.3.0 against master#1c7b36d4db582cb47513a6c7176baaec1c3346ab for pr-99197 [INFO] extracting crate lightfield_loader 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate lightfield_loader 0.3.0 on toolchain 1c7b36d4db582cb47513a6c7176baaec1c3346ab [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1c7b36d4db582cb47513a6c7176baaec1c3346ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lightfield_loader 0.3.0 [INFO] finished tweaking crates.io crate lightfield_loader 0.3.0 [INFO] tweaked toml for crates.io crate lightfield_loader 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1c7b36d4db582cb47513a6c7176baaec1c3346ab" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1c7b36d4db582cb47513a6c7176baaec1c3346ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.5.2 [INFO] [stderr] Downloaded cgmath v0.9.1 [INFO] [stderr] Downloaded image v0.10.4 [INFO] [stderr] Downloaded zip v0.1.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1c7b36d4db582cb47513a6c7176baaec1c3346ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd09052e0fa280191b2e45fd45e4b10e59cba8465a0997a0ec1a8727ab3463ed [INFO] running `Command { std: "docker" "start" "-a" "bd09052e0fa280191b2e45fd45e4b10e59cba8465a0997a0ec1a8727ab3463ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd09052e0fa280191b2e45fd45e4b10e59cba8465a0997a0ec1a8727ab3463ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd09052e0fa280191b2e45fd45e4b10e59cba8465a0997a0ec1a8727ab3463ed", kill_on_drop: false }` [INFO] [stdout] bd09052e0fa280191b2e45fd45e4b10e59cba8465a0997a0ec1a8727ab3463ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1c7b36d4db582cb47513a6c7176baaec1c3346ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006896d885d8f05c0bc420a207c784c4ade615ebc95fbe66baf08cbda2d7a461 [INFO] running `Command { std: "docker" "start" "-a" "006896d885d8f05c0bc420a207c784c4ade615ebc95fbe66baf08cbda2d7a461", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking zip v0.1.19 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking cgmath v0.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.10.4 [INFO] [stderr] Checking lightfield_loader v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let zipfile = try!(File::open(zip_filename)); [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/lightfield.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let mut archive = try!(zip::ZipArchive::new(zipfile)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(file.read_to_end(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let zipfile = try!(File::open(zip_filename)); [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/lightfield.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file = &mut try!(archive.by_index(i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let iy: i32 = try!(parts[1].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | let ix: i32 = try!(parts[2].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let y: f32 = try!(parts[3].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let mut archive = try!(zip::ZipArchive::new(zipfile)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let x: f32 = try!(parts[4].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(file.read_to_end(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let image = try!(image::load_from_memory(&contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file = &mut try!(archive.by_index(i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let iy: i32 = try!(parts[1].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | let ix: i32 = try!(parts[2].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let y: f32 = try!(parts[3].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let x: f32 = try!(parts[4].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lightfield.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let image = try!(image::load_from_memory(&contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lightfield.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file = &mut try!(archive.by_index(i)); [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/lightfield.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file = &mut try!(archive.by_index(i)); [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/lib.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => {panic!(format!("{:?}", e))}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 30 - Err(e) => {panic!(format!("{:?}", e))}, [INFO] [stdout] 30 + Err(e) => {panic!("{:?}", e)}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | _ => {panic!(format!("failed to fail"))}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - _ => {panic!(format!("failed to fail"))}, [INFO] [stdout] 31 + _ => {panic!("failed to fail")}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cgmath v0.9.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "006896d885d8f05c0bc420a207c784c4ade615ebc95fbe66baf08cbda2d7a461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006896d885d8f05c0bc420a207c784c4ade615ebc95fbe66baf08cbda2d7a461", kill_on_drop: false }` [INFO] [stdout] 006896d885d8f05c0bc420a207c784c4ade615ebc95fbe66baf08cbda2d7a461