[INFO] fetching crate fits-rs 0.3.0... [INFO] testing fits-rs-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fits-rs 0.3.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate fits-rs 0.3.0 [INFO] finished tweaking crates.io crate fits-rs 0.3.0 [INFO] tweaked toml for crates.io crate fits-rs 0.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fits-rs 0.3.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [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] 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ef80b3df772af1b461774d467c9bac7dd5f499dd94461c77298cd188915d0761 [INFO] running `Command { std: "docker" "start" "-a" "ef80b3df772af1b461774d467c9bac7dd5f499dd94461c77298cd188915d0761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef80b3df772af1b461774d467c9bac7dd5f499dd94461c77298cd188915d0761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef80b3df772af1b461774d467c9bac7dd5f499dd94461c77298cd188915d0761", kill_on_drop: false }` [INFO] [stdout] ef80b3df772af1b461774d467c9bac7dd5f499dd94461c77298cd188915d0761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5222901f5aefa3e4546588ea2862633cedbea0c6c2bfcbc0a8ec7dfce9d10221 [INFO] running `Command { std: "docker" "start" "-a" "5222901f5aefa3e4546588ea2862633cedbea0c6c2bfcbc0a8ec7dfce9d10221", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling fits-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/types/mod.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | match s.trim_right() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 - match s.trim_right() { [INFO] [stdout] 273 + match s.trim_end() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:8:86 [INFO] [stdout] | [INFO] [stdout] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits>, [INFO] [stdout] | ^^^^^ ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | named!(hdu<&[u8], HDU>, [INFO] [stdout] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 15 | named!(hdu<&[u8], HDU<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | named!(header<&[u8], Header>, [INFO] [stdout] | ^^^^^ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 22 | named!(header<&[u8], Header<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | named!(keyword_record<&[u8], KeywordRecord>, [INFO] [stdout] | ^^^^^ ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 30 | named!(keyword_record<&[u8], KeywordRecord<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | named!(valuecomment<&[u8], (Value, Option<&str>)>, [INFO] [stdout] | ^^^^^ ----- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [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] 46 | named!(valuecomment<&[u8], (Value<'_>, Option<&str>)>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | named!(value<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 54 | named!(value<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | named!(character_string<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 57 | named!(character_string<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | named!(logical_constant<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 74 | named!(logical_constant<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn logical_constant_from_str(constant: &str) -> Result { [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] 89 | fn logical_constant_from_str(constant: &str) -> Result, ParseLogicalConstantError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | named!(integer<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 97 | named!(integer<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | named!(real<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 109 | named!(real<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | named!(undefined<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 150 | named!(undefined<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | named!(extensions<&[u8], Vec >, [INFO] [stdout] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 185 | named!(extensions<&[u8], Vec> >, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | fn value_of(&self, keyword: &Keyword) -> Result { [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] 95 | fn value_of(&self, keyword: &Keyword) -> Result, ValueRetrievalError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5222901f5aefa3e4546588ea2862633cedbea0c6c2bfcbc0a8ec7dfce9d10221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5222901f5aefa3e4546588ea2862633cedbea0c6c2bfcbc0a8ec7dfce9d10221", kill_on_drop: false }` [INFO] [stdout] 5222901f5aefa3e4546588ea2862633cedbea0c6c2bfcbc0a8ec7dfce9d10221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ece09240e92b80f6436dd2207e5718c02acdea546da43f3771eac740303cf627 [INFO] running `Command { std: "docker" "start" "-a" "ece09240e92b80f6436dd2207e5718c02acdea546da43f3771eac740303cf627", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/types/mod.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | match s.trim_right() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 - match s.trim_right() { [INFO] [stdout] 273 + match s.trim_end() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:8:86 [INFO] [stdout] | [INFO] [stdout] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits>, [INFO] [stdout] | ^^^^^ ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | named!(hdu<&[u8], HDU>, [INFO] [stdout] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 15 | named!(hdu<&[u8], HDU<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | named!(header<&[u8], Header>, [INFO] [stdout] | ^^^^^ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 22 | named!(header<&[u8], Header<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | named!(keyword_record<&[u8], KeywordRecord>, [INFO] [stdout] | ^^^^^ ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 30 | named!(keyword_record<&[u8], KeywordRecord<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | named!(valuecomment<&[u8], (Value, Option<&str>)>, [INFO] [stdout] | ^^^^^ ----- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [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] 46 | named!(valuecomment<&[u8], (Value<'_>, Option<&str>)>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | named!(value<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 54 | named!(value<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | named!(character_string<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 57 | named!(character_string<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | named!(logical_constant<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 74 | named!(logical_constant<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn logical_constant_from_str(constant: &str) -> Result { [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] 89 | fn logical_constant_from_str(constant: &str) -> Result, ParseLogicalConstantError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | named!(integer<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 97 | named!(integer<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | named!(real<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 109 | named!(real<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fits-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | named!(undefined<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 150 | named!(undefined<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | named!(extensions<&[u8], Vec >, [INFO] [stdout] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 185 | named!(extensions<&[u8], Vec> >, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | fn value_of(&self, keyword: &Keyword) -> Result { [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] 95 | fn value_of(&self, keyword: &Keyword) -> Result, ValueRetrievalError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/types/mod.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | match s.trim_right() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 273 - match s.trim_right() { [INFO] [stdout] 273 + match s.trim_end() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:8:86 [INFO] [stdout] | [INFO] [stdout] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits>, [INFO] [stdout] | ^^^^^ ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | named!(hdu<&[u8], HDU>, [INFO] [stdout] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 15 | named!(hdu<&[u8], HDU<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | named!(header<&[u8], Header>, [INFO] [stdout] | ^^^^^ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 22 | named!(header<&[u8], Header<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | named!(keyword_record<&[u8], KeywordRecord>, [INFO] [stdout] | ^^^^^ ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 30 | named!(keyword_record<&[u8], KeywordRecord<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | named!(valuecomment<&[u8], (Value, Option<&str>)>, [INFO] [stdout] | ^^^^^ ----- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [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] 46 | named!(valuecomment<&[u8], (Value<'_>, Option<&str>)>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | named!(value<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 54 | named!(value<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | named!(character_string<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 57 | named!(character_string<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | named!(logical_constant<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 74 | named!(logical_constant<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn logical_constant_from_str(constant: &str) -> Result { [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] 89 | fn logical_constant_from_str(constant: &str) -> Result, ParseLogicalConstantError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | named!(integer<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 97 | named!(integer<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | named!(real<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 109 | named!(real<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | named!(undefined<&[u8], Value>, [INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 150 | named!(undefined<&[u8], Value<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | named!(extensions<&[u8], Vec >, [INFO] [stdout] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 185 | named!(extensions<&[u8], Vec> >, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/mod.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | IResult::Error(e) => panic!(format!("Did not expect an error: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 232 - IResult::Error(e) => panic!(format!("Did not expect an error: {:?}", e)), [INFO] [stdout] 232 + IResult::Error(e) => panic!("Did not expect an error: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/mod.rs:477:46 [INFO] [stdout] | [INFO] [stdout] 477 | IResult::Incomplete(e) => panic!(format!("Did not expect to be incomplete: {:?}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 477 - IResult::Incomplete(e) => panic!(format!("Did not expect to be incomplete: {:?}", e)) [INFO] [stdout] 477 + IResult::Incomplete(e) => panic!("Did not expect to be incomplete: {:?}", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | fn value_of(&self, keyword: &Keyword) -> Result { [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] 95 | fn value_of(&self, keyword: &Keyword) -> Result, ValueRetrievalError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ece09240e92b80f6436dd2207e5718c02acdea546da43f3771eac740303cf627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece09240e92b80f6436dd2207e5718c02acdea546da43f3771eac740303cf627", kill_on_drop: false }` [INFO] [stdout] ece09240e92b80f6436dd2207e5718c02acdea546da43f3771eac740303cf627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ebc8a5d5195c4be3fa3f534fa45fba17c9b775593740b78a79373b67d05696a0 [INFO] running `Command { std: "docker" "start" "-a" "ebc8a5d5195c4be3fa3f534fa45fba17c9b775593740b78a79373b67d05696a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/types/mod.rs:273:17 [INFO] [stderr] | [INFO] [stderr] 273 | match s.trim_right() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 273 - match s.trim_right() { [INFO] [stderr] 273 + match s.trim_end() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:8:86 [INFO] [stderr] | [INFO] [stderr] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits>, [INFO] [stderr] | ^^^^^ ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 8 | named!(#[doc = "Will parse data from a FITS file into a `Fits` structure"], pub fits<&[u8], Fits<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | named!(hdu<&[u8], HDU>, [INFO] [stderr] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 15 | named!(hdu<&[u8], HDU<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | named!(header<&[u8], Header>, [INFO] [stderr] | ^^^^^ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | named!(header<&[u8], Header<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | named!(keyword_record<&[u8], KeywordRecord>, [INFO] [stderr] | ^^^^^ ------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 30 | named!(keyword_record<&[u8], KeywordRecord<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | named!(valuecomment<&[u8], (Value, Option<&str>)>, [INFO] [stderr] | ^^^^^ ----- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | named!(valuecomment<&[u8], (Value<'_>, Option<&str>)>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | named!(value<&[u8], Value>, [INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 54 | named!(value<&[u8], Value<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | named!(character_string<&[u8], Value>, [INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 57 | named!(character_string<&[u8], Value<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | named!(logical_constant<&[u8], Value>, [INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 74 | named!(logical_constant<&[u8], Value<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:89:40 [INFO] [stderr] | [INFO] [stderr] 89 | fn logical_constant_from_str(constant: &str) -> Result { [INFO] [stderr] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | fn logical_constant_from_str(constant: &str) -> Result, ParseLogicalConstantError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | named!(integer<&[u8], Value>, [INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 97 | named!(integer<&[u8], Value<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | named!(real<&[u8], Value>, [INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 109 | named!(real<&[u8], Value<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:150:18 [INFO] [stderr] | [INFO] [stderr] 150 | named!(undefined<&[u8], Value>, [INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 150 | named!(undefined<&[u8], Value<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/mod.rs:185:19 [INFO] [stderr] | [INFO] [stderr] 185 | named!(extensions<&[u8], Vec >, [INFO] [stderr] | ^^^^^ --- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 185 | named!(extensions<&[u8], Vec> >, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types/mod.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | fn value_of(&self, keyword: &Keyword) -> Result { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 95 | fn value_of(&self, keyword: &Keyword) -> Result, ValueRetrievalError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `fits-rs` (lib) generated 15 warnings (run `cargo fix --lib -p fits-rs` to apply 15 suggestions) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/mod.rs:232:41 [INFO] [stderr] | [INFO] [stderr] 232 | IResult::Error(e) => panic!(format!("Did not expect an error: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 232 - IResult::Error(e) => panic!(format!("Did not expect an error: {:?}", e)), [INFO] [stderr] 232 + IResult::Error(e) => panic!("Did not expect an error: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/mod.rs:477:46 [INFO] [stderr] | [INFO] [stderr] 477 | IResult::Incomplete(e) => panic!(format!("Did not expect to be incomplete: {:?}", e)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 477 - IResult::Incomplete(e) => panic!(format!("Did not expect to be incomplete: {:?}", e)) [INFO] [stderr] 477 + IResult::Incomplete(e) => panic!("Did not expect to be incomplete: {:?}", e) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `fits-rs` (lib test) generated 17 warnings (15 duplicates) (run `cargo fix --lib -p fits-rs --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/fits_rs-98b12de5c3b322fb) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test parser::tests::character_string_should_parse_an_quote_delimited_string ... ok [INFO] [stdout] test parser::tests::blank_record_should_parse_a_BLANK_record ... ok [INFO] [stdout] test parser::tests::keyword_record_should_parse_a_keyword_record_without_a_comment ... ok [INFO] [stdout] test parser::tests::keyword_should_parse_a_keyword ... ok [INFO] [stdout] test parser::tests::integer_should_parse_an_integer ... ok [INFO] [stdout] test parser::tests::logical_constant_should_parse_an_uppercase_T_or_F ... ok [INFO] [stdout] test parser::tests::keyword_record_should_parse_a_keyword_record ... ok [INFO] [stdout] test parser::tests::primary_header_should_have_a_correct_data_array_size ... ok [INFO] [stdout] test parser::tests::real_should_parse_an_floating_point_number ... ok [INFO] [stdout] test parser::tests::first_extension_header_should_have_a_correct_data_array_size ... ok [INFO] [stdout] test parser::tests::end_record_should_parse_an_END_record ... ok [INFO] [stdout] test parser::tests::undefined_should_parse_any_amount_of_whitespace ... ok [INFO] [stdout] test parser::tests::valuecomment_should_parse_a_valuecomment ... ok [INFO] [stdout] test parser::tests::valuecomment_should_parse_a_valuecomment_without_a_comment ... ok [INFO] [stdout] test parser::tests::header_should_parse_a_primary_header ... ok [INFO] [stdout] test parser::tests::header_should_parse_a_extension_header ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test types::tests::NAXISn_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::TDISPn_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::TZEROn_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::fits_constructed_from_the_new_function_should_eq_hand_construction ... ok [INFO] [stdout] test types::tests::TDIMn_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::header_constructed_from_the_new_function_should_eq_hand_construction ... ok [INFO] [stdout] test types::tests::keywords_could_be_constructed_from_str ... ok [INFO] [stdout] test types::tests::primary_header_should_determine_correct_data_array_size ... ok [INFO] [stdout] test types::tests::TUNIT_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::TFORM_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::TNULL_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::extension_header_should_determine_correct_data_array_size ... ok [INFO] [stdout] test types::tests::TSCALn_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::TTYPE_should_be_parsed_from_str ... ok [INFO] [stdout] test types::tests::keyword_record_constructed_from_the_new_function_should_eq_hand_construction ... ok [INFO] [stdout] test types::tests::should_also_parse_whitespace_keywords ... ok [INFO] [stderr] Running unittests src/bin/headers.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/headers-e6b40bc62594cbdc) [INFO] [stdout] test parser::tests::it_should_parse_a_fits_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/bin/inspect.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/inspect-d3eace9512e87e8f) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/primary_header.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/primary_header-ee5e05d2686c6a54) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/nom-flat_map-test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/nom_flat_map_test-167ff4799118b398) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test certain_length_test ... ok [INFO] [stdout] test value_test ... ok [INFO] [stdout] test certain_length_record_test ... ok [INFO] [stdout] test record_test ... ok [INFO] [stdout] test comment_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/nom-opt-test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/nom_opt_test-d311d1b9de1a94b3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test without_complete_should_parse_digit_TEST_SHOULD_BE_IGNORED ... ignored [INFO] [stdout] test with_complete_should_parse_digit_alpha ... ok [INFO] [stdout] test without_complete_should_parse_digit_alpha ... ok [INFO] [stdout] test with_complete_should_parse_digit ... ok [INFO] [stderr] Running tests/nom-test.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/nom_test-bcbfd8d4b42629a8) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test number_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebc8a5d5195c4be3fa3f534fa45fba17c9b775593740b78a79373b67d05696a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc8a5d5195c4be3fa3f534fa45fba17c9b775593740b78a79373b67d05696a0", kill_on_drop: false }` [INFO] [stdout] ebc8a5d5195c4be3fa3f534fa45fba17c9b775593740b78a79373b67d05696a0