[INFO] fetching crate lightfield_loader 0.3.0... [INFO] testing lightfield_loader-0.3.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate lightfield_loader 0.3.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate lightfield_loader 0.3.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caab046a38df5d17f91c2185ba5e7c60f2a1411f2e3944665b95d107286fb8bf [INFO] running `Command { std: "docker" "start" "-a" "caab046a38df5d17f91c2185ba5e7c60f2a1411f2e3944665b95d107286fb8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caab046a38df5d17f91c2185ba5e7c60f2a1411f2e3944665b95d107286fb8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caab046a38df5d17f91c2185ba5e7c60f2a1411f2e3944665b95d107286fb8bf", kill_on_drop: false }` [INFO] [stdout] caab046a38df5d17f91c2185ba5e7c60f2a1411f2e3944665b95d107286fb8bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c236bfb2628b3d7e6b07dbf0640967bd8084e031422bec07fd035be2f8ec880 [INFO] running `Command { std: "docker" "start" "-a" "7c236bfb2628b3d7e6b07dbf0640967bd8084e031422bec07fd035be2f8ec880", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling msdos_time v0.1.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling cgmath v0.9.1 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling zip v0.1.19 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling 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: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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.53s [INFO] running `Command { std: "docker" "inspect" "7c236bfb2628b3d7e6b07dbf0640967bd8084e031422bec07fd035be2f8ec880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c236bfb2628b3d7e6b07dbf0640967bd8084e031422bec07fd035be2f8ec880", kill_on_drop: false }` [INFO] [stdout] 7c236bfb2628b3d7e6b07dbf0640967bd8084e031422bec07fd035be2f8ec880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37e9071d2cbc19bae0362c65fbca62d94135cbf0f6fcf54610520ec2235fd1d [INFO] running `Command { std: "docker" "start" "-a" "c37e9071d2cbc19bae0362c65fbca62d94135cbf0f6fcf54610520ec2235fd1d", kill_on_drop: false }` [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: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] [stderr] Compiling lightfield_loader v0.3.0 (/opt/rustwide/workdir) [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: 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!("{:?}", 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!("failed to fail")}, [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: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: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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.54s [INFO] running `Command { std: "docker" "inspect" "c37e9071d2cbc19bae0362c65fbca62d94135cbf0f6fcf54610520ec2235fd1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37e9071d2cbc19bae0362c65fbca62d94135cbf0f6fcf54610520ec2235fd1d", kill_on_drop: false }` [INFO] [stdout] c37e9071d2cbc19bae0362c65fbca62d94135cbf0f6fcf54610520ec2235fd1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d9fc649159031c8903cd1173f66705f13741e229539c81e8547af62ca6590b93 [INFO] running `Command { std: "docker" "start" "-a" "d9fc649159031c8903cd1173f66705f13741e229539c81e8547af62ca6590b93", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | let zipfile = try!(File::open(zip_filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | let mut archive = try!(zip::ZipArchive::new(zipfile)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | try!(file.read_to_end(&mut contents)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:75:33 [INFO] [stderr] | [INFO] [stderr] 75 | let mut file = &mut try!(archive.by_index(i)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:82:27 [INFO] [stderr] | [INFO] [stderr] 82 | let iy: i32 = try!(parts[1].parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:83:27 [INFO] [stderr] | [INFO] [stderr] 83 | let ix: i32 = try!(parts[2].parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:84:26 [INFO] [stderr] | [INFO] [stderr] 84 | let y: f32 = try!(parts[3].parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:85:26 [INFO] [stderr] | [INFO] [stderr] 85 | let x: f32 = try!(parts[4].parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lightfield.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | let image = try!(image::load_from_memory(&contents)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lightfield.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | let mut file = &mut try!(archive.by_index(i)); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lightfield_loader` (lib) generated 10 warnings [INFO] [stderr] warning: `lightfield_loader` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/lib.rs:30:27 [INFO] [stderr] | [INFO] [stderr] 30 | Err(e) => {panic!(format!("{:?}", e))}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 30 | Err(e) => {panic!("{:?}", e)}, [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/lib.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | _ => {panic!(format!("failed to fail"))}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 | _ => {panic!("failed to fail")}, [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `lightfield_loader` (test "lib") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lightfield_loader-8ebd4b96d127bb2a) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-f45fa3e14ac53250) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test filenotfound ... ok [INFO] [stdout] test ok_png ... ok [INFO] [stdout] test ok_jpg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] Doc-tests lightfield_loader [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d9fc649159031c8903cd1173f66705f13741e229539c81e8547af62ca6590b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9fc649159031c8903cd1173f66705f13741e229539c81e8547af62ca6590b93", kill_on_drop: false }` [INFO] [stdout] d9fc649159031c8903cd1173f66705f13741e229539c81e8547af62ca6590b93