[INFO] fetching crate serde_amf 0.1.0... [INFO] testing serde_amf-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate serde_amf 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate serde_amf 0.1.0 [INFO] finished tweaking crates.io crate serde_amf 0.1.0 [INFO] tweaked toml for crates.io crate serde_amf 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_amf 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding nom v5.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6777f0e95e3b9874089a84e2a75c57925802669a20419af5979ef7d6b343ed0 [INFO] running `Command { std: "docker" "start" "-a" "c6777f0e95e3b9874089a84e2a75c57925802669a20419af5979ef7d6b343ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6777f0e95e3b9874089a84e2a75c57925802669a20419af5979ef7d6b343ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6777f0e95e3b9874089a84e2a75c57925802669a20419af5979ef7d6b343ed0", kill_on_drop: false }` [INFO] [stdout] c6777f0e95e3b9874089a84e2a75c57925802669a20419af5979ef7d6b343ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46331e7c91b29c055c767c80ab952acaa4a8ee6b0de849fedd600e606e7e021 [INFO] running `Command { std: "docker" "start" "-a" "a46331e7c91b29c055c767c80ab952acaa4a8ee6b0de849fedd600e606e7e021", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_amf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/serde/enc/date.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | std::fmt::Debug::fmt(&chrono::Utc.timestamp_millis(self.date as i64), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/packet/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct Packet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub version: version::Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/amf0/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "a46331e7c91b29c055c767c80ab952acaa4a8ee6b0de849fedd600e606e7e021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46331e7c91b29c055c767c80ab952acaa4a8ee6b0de849fedd600e606e7e021", kill_on_drop: false }` [INFO] [stdout] a46331e7c91b29c055c767c80ab952acaa4a8ee6b0de849fedd600e606e7e021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af0bf2566ef325386bb1f1c9c2cb70d489e0eebcfb5a3f1086025fb715cb13e5 [INFO] running `Command { std: "docker" "start" "-a" "af0bf2566ef325386bb1f1c9c2cb70d489e0eebcfb5a3f1086025fb715cb13e5", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/serde/enc/date.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | std::fmt::Debug::fmt(&chrono::Utc.timestamp_millis(self.date as i64), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/packet/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct Packet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub version: version::Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/amf0/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_amf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/serde/enc/date.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | std::fmt::Debug::fmt(&chrono::Utc.timestamp_millis(self.date as i64), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/packet/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct Packet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub version: version::Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/amf0/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message), nom::Err<()>> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message<'_>), nom::Err<()>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "af0bf2566ef325386bb1f1c9c2cb70d489e0eebcfb5a3f1086025fb715cb13e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0bf2566ef325386bb1f1c9c2cb70d489e0eebcfb5a3f1086025fb715cb13e5", kill_on_drop: false }` [INFO] [stdout] af0bf2566ef325386bb1f1c9c2cb70d489e0eebcfb5a3f1086025fb715cb13e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eecb6ba95ad74badf4d6516e64cb5164ed862b2443ef6c0af80ff3c50edf3108 [INFO] running `Command { std: "docker" "start" "-a" "eecb6ba95ad74badf4d6516e64cb5164ed862b2443ef6c0af80ff3c50edf3108", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stderr] --> src/serde/enc/date.rs:25:43 [INFO] [stderr] | [INFO] [stderr] 25 | std::fmt::Debug::fmt(&chrono::Utc.timestamp_millis(self.date as i64), f) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `version` is never read [INFO] [stderr] --> src/packet/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | struct Packet { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 4 | pub version: version::Version, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/amf0/mod.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF), nom::Err<()>> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | fn simple(input: &[u8]) -> Result<(&[u8], AMF<'_>), nom::Err<()>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/header/mod.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header), nom::Err<()>> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn header(input: &[u8]) -> Result<(&[u8], Header<'_>), nom::Err<()>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message/mod.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message), nom::Err<()>> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | pub fn message(input: &[u8]) -> Result<(&[u8], Message<'_>), nom::Err<()>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `serde_amf` (lib) generated 5 warnings (run `cargo fix --lib -p serde_amf` to apply 3 suggestions) [INFO] [stderr] warning: `serde_amf` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_amf-073d13ba6ca20809) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test serde::enc::test::serialize_bool ... 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] [stderr] Doc-tests serde_amf [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] running `Command { std: "docker" "inspect" "eecb6ba95ad74badf4d6516e64cb5164ed862b2443ef6c0af80ff3c50edf3108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecb6ba95ad74badf4d6516e64cb5164ed862b2443ef6c0af80ff3c50edf3108", kill_on_drop: false }` [INFO] [stdout] eecb6ba95ad74badf4d6516e64cb5164ed862b2443ef6c0af80ff3c50edf3108