[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] checking uly55e5/rraw against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuly55e5%2Frraw" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uly55e5/rraw on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "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-0-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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24cb0288ec09cd646957cc5b42c5c91fcaf2efc4123f4f26ea61525266a35f29 [INFO] running `Command { std: "docker" "start" "-a" "24cb0288ec09cd646957cc5b42c5c91fcaf2efc4123f4f26ea61525266a35f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24cb0288ec09cd646957cc5b42c5c91fcaf2efc4123f4f26ea61525266a35f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24cb0288ec09cd646957cc5b42c5c91fcaf2efc4123f4f26ea61525266a35f29", kill_on_drop: false }` [INFO] [stdout] 24cb0288ec09cd646957cc5b42c5c91fcaf2efc4123f4f26ea61525266a35f29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cab6a051036032a1c520c940c902a2cf0d2c80e943bf104a3ad2afbf4956930 [INFO] running `Command { std: "docker" "start" "-a" "2cab6a051036032a1c520c940c902a2cf0d2c80e943bf104a3ad2afbf4956930", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking image v0.1.0 (/opt/rustwide/workdir/crates/image) [INFO] [stderr] Checking raw v0.1.0 (/opt/rustwide/workdir/crates/raw) [INFO] [stderr] Checking 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(u32), [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(i32), [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(u64), [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(i64), [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(f64) [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] Checking rraw v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "2cab6a051036032a1c520c940c902a2cf0d2c80e943bf104a3ad2afbf4956930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cab6a051036032a1c520c940c902a2cf0d2c80e943bf104a3ad2afbf4956930", kill_on_drop: false }` [INFO] [stdout] 2cab6a051036032a1c520c940c902a2cf0d2c80e943bf104a3ad2afbf4956930