[INFO] fetching crate rawloader 0.37.1... [INFO] testing rawloader-0.37.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rawloader 0.37.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rawloader 0.37.1 [INFO] finished tweaking crates.io crate rawloader 0.37.1 [INFO] tweaked toml for crates.io crate rawloader 0.37.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rawloader 0.37.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rawloader 0.37.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumn v0.1.3 [INFO] [stderr] Downloaded rayon-core v1.9.2 [INFO] [stderr] Downloaded rayon v1.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80b99608acfdb446d82b8424613cc9ae6fe1139eb63d550c4e572497d29b94c1 [INFO] running `Command { std: "docker" "start" "-a" "80b99608acfdb446d82b8424613cc9ae6fe1139eb63d550c4e572497d29b94c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80b99608acfdb446d82b8424613cc9ae6fe1139eb63d550c4e572497d29b94c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b99608acfdb446d82b8424613cc9ae6fe1139eb63d550c4e572497d29b94c1", kill_on_drop: false }` [INFO] [stdout] 80b99608acfdb446d82b8424613cc9ae6fe1139eb63d550c4e572497d29b94c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9437cf1d615e236d8359d88e0d44c596cebf13aed5fd9b9ba3d8136dc8175f37 [INFO] running `Command { std: "docker" "start" "-a" "9437cf1d615e236d8359d88e0d44c596cebf13aed5fd9b9ba3d8136dc8175f37", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling enumn v0.1.3 [INFO] [stderr] Compiling rawloader v0.37.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(needs_chunks_exact)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(needs_chunks_exact)] pub use self::chunks_exact::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/decoders/arw.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | out[j] = out[(j-1)] + (1< src/decoders/srw.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let l = len[(c >> 3)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - let l = len[(c >> 3)]; [INFO] [stdout] 104 + let l = len[c >> 3]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/lib.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 59 - static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] 59 + static ref LOADER: RawLoader = RawLoader::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result { [INFO] [stdout] | ^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ciff.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/rw2.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rawloader` (lib) due to 1 previous error; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9437cf1d615e236d8359d88e0d44c596cebf13aed5fd9b9ba3d8136dc8175f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9437cf1d615e236d8359d88e0d44c596cebf13aed5fd9b9ba3d8136dc8175f37", kill_on_drop: false }` [INFO] [stdout] 9437cf1d615e236d8359d88e0d44c596cebf13aed5fd9b9ba3d8136dc8175f37