[INFO] cloning repository https://github.com/uly55e5/rraw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uly55e5/rraw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuly55e5%2Frraw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuly55e5%2Frraw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c119a97be4ef377810b0f388a2938fc83a113fb9 [INFO] building uly55e5/rraw against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuly55e5%2Frraw" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uly55e5/rraw on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uly55e5/rraw [INFO] finished tweaking git repo https://github.com/uly55e5/rraw [INFO] tweaked toml for git repo https://github.com/uly55e5/rraw written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/uly55e5/rraw already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9c52a36267ea343779cd6017def22a0307ba0cbf19d83713bfe29be90890fff [INFO] running `Command { std: "docker" "start" "-a" "a9c52a36267ea343779cd6017def22a0307ba0cbf19d83713bfe29be90890fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9c52a36267ea343779cd6017def22a0307ba0cbf19d83713bfe29be90890fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c52a36267ea343779cd6017def22a0307ba0cbf19d83713bfe29be90890fff", kill_on_drop: false }` [INFO] [stdout] a9c52a36267ea343779cd6017def22a0307ba0cbf19d83713bfe29be90890fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58650563d739636cc296c3f77a9f6dd2eb566f8c7d86bea51fb559265d240a09 [INFO] running `Command { std: "docker" "start" "-a" "58650563d739636cc296c3f77a9f6dd2eb566f8c7d86bea51fb559265d240a09", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling raw v0.1.0 (/opt/rustwide/workdir/crates/raw) [INFO] [stderr] Compiling image v0.1.0 (/opt/rustwide/workdir/crates/image) [INFO] [stderr] Compiling metadata v0.1.0 (/opt/rustwide/workdir/crates/metadata) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> crates/raw/src/cr2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::any::Any; [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] --> crates/raw/src/cr2.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | try!(image.read_header(&mut file)); [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] --> crates/raw/src/cr2.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | try!(image.read_ifd(&mut file,i,true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> crates/raw/src/cr2.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | let val = self.as_ptr() as *const T;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> crates/raw/src/cr2.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | return Some(unsafe{(*val)}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - return Some(unsafe{(*val)}); [INFO] [stdout] 112 + return Some(unsafe{*val}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(f.read(&mut head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | if 0 != try!(f.seek(::std::io::SeekFrom::Start(0))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let s = try!(str::from_utf8(&bo)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | if try!(str::from_utf8(&cm)) != "CR" { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | try!(f.read(&mut tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | try!(f.seek(io::SeekFrom::Start(offset as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | try!(f.read(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let mut f = try!(File::open(self.file_name.deref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> crates/raw/src/cr2.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | i = i+1;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | try!(f.read(&mut na)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | try!(f.seek(io::SeekFrom::Start(pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | try!(f.read(&mut ioa)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let mut pos = try!(f.seek(io::SeekFrom::Start(self.ifd[index].offset as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/raw/src/cr2.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | RawFileError::Io(ref e) => {write!(f,"IO error: {}",e.description())}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/raw/src/cr2.rs:40:82 [INFO] [stdout] | [INFO] [stdout] 40 | RawFileError::Utf8(ref e) => {write!(f,"Utf8 conversion error: {}",e.description())}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> crates/raw/src/cr2.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | for n in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> crates/raw/src/cr2.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let r = self.read_tag(f); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Unsigned(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | Unsigned(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | Signed(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | Signed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 | U64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | I64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | Float(f64) [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 | Float(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Strg` is never constructed [INFO] [stdout] --> crates/raw/src/cr2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | enum TagData { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Strg(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | struct Ifd { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 72 | offset: usize, [INFO] [stdout] 73 | tags: HashMap> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct RawImage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | tags: HashMap > [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rraw v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "58650563d739636cc296c3f77a9f6dd2eb566f8c7d86bea51fb559265d240a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58650563d739636cc296c3f77a9f6dd2eb566f8c7d86bea51fb559265d240a09", kill_on_drop: false }` [INFO] [stdout] 58650563d739636cc296c3f77a9f6dd2eb566f8c7d86bea51fb559265d240a09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ec623ff4f5ba961397fc64ed0122aaade28054750595fc2f942e2f75cc00d66 [INFO] running `Command { std: "docker" "start" "-a" "4ec623ff4f5ba961397fc64ed0122aaade28054750595fc2f942e2f75cc00d66", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> crates/raw/src/cr2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::any::Any; [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] --> crates/raw/src/cr2.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | try!(image.read_header(&mut file)); [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] --> crates/raw/src/cr2.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | try!(image.read_ifd(&mut file,i,true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> crates/raw/src/cr2.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | let val = self.as_ptr() as *const T;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> crates/raw/src/cr2.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | return Some(unsafe{(*val)}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - return Some(unsafe{(*val)}); [INFO] [stdout] 112 + return Some(unsafe{*val}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(f.read(&mut head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | if 0 != try!(f.seek(::std::io::SeekFrom::Start(0))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let s = try!(str::from_utf8(&bo)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | if try!(str::from_utf8(&cm)) != "CR" { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | try!(f.read(&mut tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | try!(f.seek(io::SeekFrom::Start(offset as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rraw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | try!(f.read(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let mut f = try!(File::open(self.file_name.deref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> crates/raw/src/cr2.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | i = i+1;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | try!(f.read(&mut na)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | try!(f.seek(io::SeekFrom::Start(pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | try!(f.read(&mut ioa)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> crates/raw/src/cr2.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let mut pos = try!(f.seek(io::SeekFrom::Start(self.ifd[index].offset as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/raw/src/cr2.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | RawFileError::Io(ref e) => {write!(f,"IO error: {}",e.description())}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/raw/src/cr2.rs:40:82 [INFO] [stdout] | [INFO] [stdout] 40 | RawFileError::Utf8(ref e) => {write!(f,"Utf8 conversion error: {}",e.description())}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> crates/raw/src/cr2.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | for n in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> crates/raw/src/cr2.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let r = self.read_tag(f); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Unsigned(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | Unsigned(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | Signed(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | Signed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 | U64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | I64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | Float(f64) [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 | Float(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Strg` is never constructed [INFO] [stdout] --> crates/raw/src/cr2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | enum TagData { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Strg(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | struct Ifd { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 72 | offset: usize, [INFO] [stdout] 73 | tags: HashMap> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> crates/raw/src/cr2.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct RawImage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | tags: HashMap > [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "4ec623ff4f5ba961397fc64ed0122aaade28054750595fc2f942e2f75cc00d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec623ff4f5ba961397fc64ed0122aaade28054750595fc2f942e2f75cc00d66", kill_on_drop: false }` [INFO] [stdout] 4ec623ff4f5ba961397fc64ed0122aaade28054750595fc2f942e2f75cc00d66