[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#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuly55e5%2Frraw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uly55e5/rraw on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "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-3-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking uly55e5/rraw against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuly55e5%2Frraw" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uly55e5/rraw on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "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-3-tc2/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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3fa5a9a1c5b3998de1240b4ab3538495fb7ef1e8a7f4dbc63d1074046aa127b [INFO] running `Command { std: "docker" "start" "-a" "f3fa5a9a1c5b3998de1240b4ab3538495fb7ef1e8a7f4dbc63d1074046aa127b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3fa5a9a1c5b3998de1240b4ab3538495fb7ef1e8a7f4dbc63d1074046aa127b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3fa5a9a1c5b3998de1240b4ab3538495fb7ef1e8a7f4dbc63d1074046aa127b", kill_on_drop: false }` [INFO] [stdout] f3fa5a9a1c5b3998de1240b4ab3538495fb7ef1e8a7f4dbc63d1074046aa127b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b10b3c7fc19a2b3b58efb469f84ebb5157609c9375b1722ef78c367e2b363691 [INFO] running `Command { std: "docker" "start" "-a" "b10b3c7fc19a2b3b58efb469f84ebb5157609c9375b1722ef78c367e2b363691", kill_on_drop: false }` [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: `#[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] 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] 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] 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] 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] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rraw v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "b10b3c7fc19a2b3b58efb469f84ebb5157609c9375b1722ef78c367e2b363691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10b3c7fc19a2b3b58efb469f84ebb5157609c9375b1722ef78c367e2b363691", kill_on_drop: false }` [INFO] [stdout] b10b3c7fc19a2b3b58efb469f84ebb5157609c9375b1722ef78c367e2b363691