[INFO] fetching crate grib 0.10.2... [INFO] testing grib-0.10.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate grib 0.10.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate grib 0.10.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate grib 0.10.2 [INFO] tweaked toml for crates.io crate grib 0.10.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate grib 0.10.2 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 grib 0.10.2 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxxbridge-flags v1.0.41 [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] [stderr] Downloaded grib-build v0.4.3 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.41 [INFO] [stderr] Downloaded geo-types v0.7.12 [INFO] [stderr] Downloaded proj v0.27.2 [INFO] [stderr] Downloaded cxx-build v1.0.41 [INFO] [stderr] Downloaded xz2 v0.1.6 [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded cxx v1.0.41 [INFO] [stderr] Downloaded bindgen v0.66.1 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded lzma-sys v0.1.16 [INFO] [stderr] Downloaded openjpeg-sys v1.0.5 [INFO] [stderr] Downloaded proj-sys v0.23.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0969d96c74507f8d642528445ac38d9255fc65e3a73336b151e913c9147cafb8 [INFO] running `Command { std: "docker" "start" "-a" "0969d96c74507f8d642528445ac38d9255fc65e3a73336b151e913c9147cafb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0969d96c74507f8d642528445ac38d9255fc65e3a73336b151e913c9147cafb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0969d96c74507f8d642528445ac38d9255fc65e3a73336b151e913c9147cafb8", kill_on_drop: false }` [INFO] [stdout] 0969d96c74507f8d642528445ac38d9255fc65e3a73336b151e913c9147cafb8 [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" "-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] e35fb4e3c83e2d42f7a8f79b692a203def346c721bc93c012a568580838ef5b7 [INFO] running `Command { std: "docker" "start" "-a" "e35fb4e3c83e2d42f7a8f79b692a203def346c721bc93c012a568580838ef5b7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling openjpeg-sys v1.0.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling num_enum v0.7.1 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling grib-build v0.4.3 [INFO] [stderr] Compiling grib v0.10.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/context.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn iter(&self) -> SubmessageIterator { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | pub fn iter(&self) -> SubmessageIterator<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/context.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn submessages(&self) -> SubmessageIterator { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 204 | pub fn submessages(&self) -> SubmessageIterator<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/context.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn sections(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 232 | pub fn sections(&self) -> std::slice::Iter<'_, SectionInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datatypes/sections.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 56 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datatypes/sections.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 150 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datatypes/sections.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 170 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datatypes/sections.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 326 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datatypes/sections.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 513 | pub fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 126 | ) -> Result + '_>, GribError> { [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 126 | ) -> Result + '_>, GribError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/decoder/jpeg2000/ext.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let len = (*user_data).buf.len(); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SliceWithOffset<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/decoder/jpeg2000/ext.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let len = (*user_data).buf.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 59 | let len = (&(*user_data).buf).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/decoder/jpeg2000/ext.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let slice = &(*user_data).buf[offset..offset + bytes_read]; [INFO] [stdout] | ^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SliceWithOffset<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/decoder/jpeg2000/ext.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let slice = &(*user_data).buf[offset..offset + bytes_read]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 67 | let slice = &(&(*user_data).buf)[offset..offset + bytes_read]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grib` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e35fb4e3c83e2d42f7a8f79b692a203def346c721bc93c012a568580838ef5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35fb4e3c83e2d42f7a8f79b692a203def346c721bc93c012a568580838ef5b7", kill_on_drop: false }` [INFO] [stdout] e35fb4e3c83e2d42f7a8f79b692a203def346c721bc93c012a568580838ef5b7