[INFO] fetching crate gribberish 0.21.2... [INFO] testing gribberish-0.21.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gribberish 0.21.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate gribberish 0.21.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gribberish 0.21.2 [INFO] tweaked toml for crates.io crate gribberish 0.21.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gribberish 0.21.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 gribberish 0.21.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 gribberish-macros v0.21.2 [INFO] [stderr] Downloaded gribberish-types v0.21.2 [INFO] [stderr] Downloaded mappers v0.7.1 [INFO] [stderr] Downloaded openjpeg-sys v1.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 668fdccba33892610315ff22e64d40a0010acbc590274d9cc2c9fb2d5acc9d36 [INFO] running `Command { std: "docker" "start" "-a" "668fdccba33892610315ff22e64d40a0010acbc590274d9cc2c9fb2d5acc9d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "668fdccba33892610315ff22e64d40a0010acbc590274d9cc2c9fb2d5acc9d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "668fdccba33892610315ff22e64d40a0010acbc590274d9cc2c9fb2d5acc9d36", kill_on_drop: false }` [INFO] [stdout] 668fdccba33892610315ff22e64d40a0010acbc590274d9cc2c9fb2d5acc9d36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3fa97102fb0b0acee80c2c111076a1f899daa29b99b7c21aaa3ce03d0df75b2d [INFO] running `Command { std: "docker" "start" "-a" "3fa97102fb0b0acee80c2c111076a1f899daa29b99b7c21aaa3ce03d0df75b2d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling const_soft_float v0.1.4 [INFO] [stderr] Compiling gribberish-types v0.21.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling geographiclib-rs v0.2.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openjpeg-sys v1.0.10 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling mappers v0.7.1 [INFO] [stderr] Compiling gribberish-macros v0.21.2 [INFO] [stderr] Compiling gribberish v0.21.2 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/utils/jpeg.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let n_imgsize = (*userdata).input.len(); [INFO] [stdout] | ^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut JpegUserData<'_>` [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/utils/jpeg.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let n_imgsize = (*userdata).input.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] 37 | let n_imgsize = (&(*userdata).input).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/utils/jpeg.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if (*userdata).input.is_empty() || p_buffer.is_null() || n_read == 0 || n_byteleft == 0 { [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut JpegUserData<'_>` [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/utils/jpeg.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if (*userdata).input.is_empty() || p_buffer.is_null() || n_read == 0 || n_byteleft == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `is_empty` require a reference [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:136:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 46 | if (&(*userdata).input).is_empty() || p_buffer.is_null() || n_read == 0 || n_byteleft == 0 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/utils/jpeg.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | target.copy_from_slice(&(*userdata).input[offset..offset + n_read]); [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut JpegUserData<'_>` [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/utils/jpeg.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | target.copy_from_slice(&(*userdata).input[offset..offset + n_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] 54 | target.copy_from_slice(&(&(*userdata).input)[offset..offset + n_read]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/utils/jpeg.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let n_imgsize = (*userdata).input.len(); [INFO] [stdout] | ^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut JpegUserData<'_>` [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/utils/jpeg.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let n_imgsize = (*userdata).input.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] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let n_imgsize = (&(*userdata).input).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/utils/jpeg.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let n_imgsize = (*userdata).input.len(); [INFO] [stdout] | ^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut JpegUserData<'_>` [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/utils/jpeg.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let n_imgsize = (*userdata).input.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] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 102 | let n_imgsize = (&(*userdata).input).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sections/section.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_data(data: &[u8], offset: usize) -> Option
{ [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] 26 | pub fn from_data(data: &[u8], offset: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_data(data: &'a [u8], offset: usize) -> Option { [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] 74 | pub fn from_data(data: &'a [u8], offset: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn sections(&self) -> SectionIterator { [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] 94 | pub fn sections(&self) -> SectionIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gribberish` (lib) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3fa97102fb0b0acee80c2c111076a1f899daa29b99b7c21aaa3ce03d0df75b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa97102fb0b0acee80c2c111076a1f899daa29b99b7c21aaa3ce03d0df75b2d", kill_on_drop: false }` [INFO] [stdout] 3fa97102fb0b0acee80c2c111076a1f899daa29b99b7c21aaa3ce03d0df75b2d