[INFO] fetching crate json-spanned-value 0.2.2... [INFO] testing json-spanned-value-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate json-spanned-value 0.2.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate json-spanned-value 0.2.2 [INFO] finished tweaking crates.io crate json-spanned-value 0.2.2 [INFO] tweaked toml for crates.io crate json-spanned-value 0.2.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate json-spanned-value 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate json-spanned-value 0.2.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan-reporting v0.9.5 [INFO] [stderr] Downloaded serde_json v1.0.58 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 086e79fe7081c2955fd6129ca57b8b550e90cf03e4b14abac97f2eac4b2eb237 [INFO] running `Command { std: "docker" "start" "-a" "086e79fe7081c2955fd6129ca57b8b550e90cf03e4b14abac97f2eac4b2eb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "086e79fe7081c2955fd6129ca57b8b550e90cf03e4b14abac97f2eac4b2eb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086e79fe7081c2955fd6129ca57b8b550e90cf03e4b14abac97f2eac4b2eb237", kill_on_drop: false }` [INFO] [stdout] 086e79fe7081c2955fd6129ca57b8b550e90cf03e4b14abac97f2eac4b2eb237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead8e5378c0ccda6798ea30e6fdb5a5aa7dc56a8e2d897ba35a3a9e2a424c69a [INFO] running `Command { std: "docker" "start" "-a" "ead8e5378c0ccda6798ea30e6fdb5a5aa7dc56a8e2d897ba35a3a9e2a424c69a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling json-spanned-value v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:36:108 [INFO] [stdout] | [INFO] [stdout] 36 | ...e manipulation."] pub fn entry(&mut self, key: K) -> Entry { self.map.entry(key) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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 | #[doc = "Gets the given key's corresponding entry in the map for in-place manipulation."] pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { self.map.entry(key) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:108:110 [INFO] [stdout] | [INFO] [stdout] 108 | ... ] pub fn as_span_number (&self) -> Option { match &self.value { super::Value::Number(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 108 | #[doc="`Some(span + &inner)` if self is a number like `123`" ] pub fn as_span_number (&self) -> Option> { match &self.value { super::Value::Number(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:109:110 [INFO] [stdout] | [INFO] [stdout] 109 | ... ] pub fn as_span_string (&self) -> Option { match &self.value { super::Value::String(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 109 | #[doc="`Some(span + &inner)` if self is a string like `\"asdf\"`" ] pub fn as_span_string (&self) -> Option> { match &self.value { super::Value::String(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:110:110 [INFO] [stdout] | [INFO] [stdout] 110 | ... ] pub fn as_span_array (&self) -> Option { match &self.value { super::Value::Array(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 110 | #[doc="`Some(span + &inner)` if self is an array like `[1, 2, 3]`" ] pub fn as_span_array (&self) -> Option> { match &self.value { super::Value::Array(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:111:110 [INFO] [stdout] | [INFO] [stdout] 111 | ..."b\": 2}`" ] pub fn as_span_object (&self) -> Option { match &self.value { super::Value::Object(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 111 | #[doc="`Some(span + &inner)` if self is an object like `{\"a\": 1, \"b\": 2}`" ] pub fn as_span_object (&self) -> Option> { match &self.value { super::Value::Object(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.40s [INFO] running `Command { std: "docker" "inspect" "ead8e5378c0ccda6798ea30e6fdb5a5aa7dc56a8e2d897ba35a3a9e2a424c69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead8e5378c0ccda6798ea30e6fdb5a5aa7dc56a8e2d897ba35a3a9e2a424c69a", kill_on_drop: false }` [INFO] [stdout] ead8e5378c0ccda6798ea30e6fdb5a5aa7dc56a8e2d897ba35a3a9e2a424c69a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce8c4535852508ff821b101e9bfeb207c72246c7c93f7588ef918625d09930e [INFO] running `Command { std: "docker" "start" "-a" "8ce8c4535852508ff821b101e9bfeb207c72246c7c93f7588ef918625d09930e", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:36:108 [INFO] [stdout] | [INFO] [stdout] 36 | ...e manipulation."] pub fn entry(&mut self, key: K) -> Entry { self.map.entry(key) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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 | #[doc = "Gets the given key's corresponding entry in the map for in-place manipulation."] pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { self.map.entry(key) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:108:110 [INFO] [stdout] | [INFO] [stdout] 108 | ... ] pub fn as_span_number (&self) -> Option { match &self.value { super::Value::Number(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 108 | #[doc="`Some(span + &inner)` if self is a number like `123`" ] pub fn as_span_number (&self) -> Option> { match &self.value { super::Value::Number(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:109:110 [INFO] [stdout] | [INFO] [stdout] 109 | ... ] pub fn as_span_string (&self) -> Option { match &self.value { super::Value::String(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 109 | #[doc="`Some(span + &inner)` if self is a string like `\"asdf\"`" ] pub fn as_span_string (&self) -> Option> { match &self.value { super::Value::String(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:110:110 [INFO] [stdout] | [INFO] [stdout] 110 | ... ] pub fn as_span_array (&self) -> Option { match &self.value { super::Value::Array(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 110 | #[doc="`Some(span + &inner)` if self is an array like `[1, 2, 3]`" ] pub fn as_span_array (&self) -> Option> { match &self.value { super::Value::Array(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:111:110 [INFO] [stdout] | [INFO] [stdout] 111 | ..."b\": 2}`" ] pub fn as_span_object (&self) -> Option { match &self.value { super::Value::Object(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 111 | #[doc="`Some(span + &inner)` if self is an object like `{\"a\": 1, \"b\": 2}`" ] pub fn as_span_object (&self) -> Option> { match &self.value { super::Value::Object(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling codespan-reporting v0.9.5 [INFO] [stderr] Compiling json-spanned-value v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:36:108 [INFO] [stdout] | [INFO] [stdout] 36 | ...e manipulation."] pub fn entry(&mut self, key: K) -> Entry { self.map.entry(key) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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 | #[doc = "Gets the given key's corresponding entry in the map for in-place manipulation."] pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { self.map.entry(key) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:108:110 [INFO] [stdout] | [INFO] [stdout] 108 | ... ] pub fn as_span_number (&self) -> Option { match &self.value { super::Value::Number(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 108 | #[doc="`Some(span + &inner)` if self is a number like `123`" ] pub fn as_span_number (&self) -> Option> { match &self.value { super::Value::Number(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:109:110 [INFO] [stdout] | [INFO] [stdout] 109 | ... ] pub fn as_span_string (&self) -> Option { match &self.value { super::Value::String(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 109 | #[doc="`Some(span + &inner)` if self is a string like `\"asdf\"`" ] pub fn as_span_string (&self) -> Option> { match &self.value { super::Value::String(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:110:110 [INFO] [stdout] | [INFO] [stdout] 110 | ... ] pub fn as_span_array (&self) -> Option { match &self.value { super::Value::Array(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 110 | #[doc="`Some(span + &inner)` if self is an array like `[1, 2, 3]`" ] pub fn as_span_array (&self) -> Option> { match &self.value { super::Value::Array(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spanned.rs:111:110 [INFO] [stdout] | [INFO] [stdout] 111 | ..."b\": 2}`" ] pub fn as_span_object (&self) -> Option { match &self.value { super::Value::Object(v) => Some(Spanned { s... [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 111 | #[doc="`Some(span + &inner)` if self is an object like `{\"a\": 1, \"b\": 2}`" ] pub fn as_span_object (&self) -> Option> { match &self.value { super::Value::Object(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.00s [INFO] running `Command { std: "docker" "inspect" "8ce8c4535852508ff821b101e9bfeb207c72246c7c93f7588ef918625d09930e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce8c4535852508ff821b101e9bfeb207c72246c7c93f7588ef918625d09930e", kill_on_drop: false }` [INFO] [stdout] 8ce8c4535852508ff821b101e9bfeb207c72246c7c93f7588ef918625d09930e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f3690047bbb0c5e974671c8790d23e2ce917c9e3fb0860653bf05c67b699d1c [INFO] running `Command { std: "docker" "start" "-a" "2f3690047bbb0c5e974671c8790d23e2ce917c9e3fb0860653bf05c67b699d1c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map.rs:36:108 [INFO] [stderr] | [INFO] [stderr] 36 | ...e manipulation."] pub fn entry(&mut self, key: K) -> Entry { self.map.entry(key) } [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [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 | #[doc = "Gets the given key's corresponding entry in the map for in-place manipulation."] pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { self.map.entry(key) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spanned.rs:108:110 [INFO] [stderr] | [INFO] [stderr] 108 | ... ] pub fn as_span_number (&self) -> Option { match &self.value { super::Value::Number(v) => Some(Spanned { s... [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 108 | #[doc="`Some(span + &inner)` if self is a number like `123`" ] pub fn as_span_number (&self) -> Option> { match &self.value { super::Value::Number(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spanned.rs:109:110 [INFO] [stderr] | [INFO] [stderr] 109 | ... ] pub fn as_span_string (&self) -> Option { match &self.value { super::Value::String(v) => Some(Spanned { s... [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 109 | #[doc="`Some(span + &inner)` if self is a string like `\"asdf\"`" ] pub fn as_span_string (&self) -> Option> { match &self.value { super::Value::String(v) => Some(Spanned { start: self.start, end: self.end, value: &v }), _ => None } } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spanned.rs:110:110 [INFO] [stderr] | [INFO] [stderr] 110 | ... ] pub fn as_span_array (&self) -> Option { match &self.value { super::Value::Array(v) => Some(Spanned { s... [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 110 | #[doc="`Some(span + &inner)` if self is an array like `[1, 2, 3]`" ] pub fn as_span_array (&self) -> Option> { match &self.value { super::Value::Array(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spanned.rs:111:110 [INFO] [stderr] | [INFO] [stderr] 111 | ..."b\": 2}`" ] pub fn as_span_object (&self) -> Option { match &self.value { super::Value::Object(v) => Some(Spanned { s... [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [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] 111 | #[doc="`Some(span + &inner)` if self is an object like `{\"a\": 1, \"b\": 2}`" ] pub fn as_span_object (&self) -> Option> { match &self.value { super::Value::Object(v) => Some(Spanned { start: self.start, end: self.end, value: v }), _ => None } } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `json-spanned-value` (lib) generated 5 warnings (run `cargo fix --lib -p json-spanned-value` to apply 5 suggestions) [INFO] [stderr] warning: `json-spanned-value` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/json_spanned_value-7363cebb8f3ef74e) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test spanned::tests::pointer ... ok [INFO] [stdout] test tests::comment_spam_after_trailing_comma ... ok [INFO] [stdout] test tests::comment_spam_allow ... ok [INFO] [stdout] test tests::duplicate_keys_deny ... ok [INFO] [stdout] test tests::multi_line_comments_allow ... ok [INFO] [stdout] test tests::not_a_comment ... ok [INFO] [stdout] test tests::object_no_whitespace ... ok [INFO] [stdout] test tests::object_even_more_whitespace ... ok [INFO] [stdout] test tests::single_line_comments_allow ... ok [INFO] [stdout] test tests::single_line_comments_deny ... ok [INFO] [stdout] test tests::struct_annotated ... ok [INFO] [stdout] test spanned::tests::pointer_mut ... ok [INFO] [stdout] test tests::trailing_array_commas_allow ... ok [INFO] [stdout] test tests::trailing_array_commas_deny ... ok [INFO] [stdout] test tests::trailing_object_commas_allow ... ok [INFO] [stdout] test tests::trailing_object_commas_deny ... ok [INFO] [stdout] test tests::stream_arrays ... ok [INFO] [stdout] test tests::stream_numbers ... ok [INFO] [stdout] test tests::stream_objects ... ok [INFO] [stdout] test tests::object_more_whitespace ... ok [INFO] [stdout] test tests::struct_plain ... ok [INFO] [stdout] test tests::multi_line_comments_deny ... ok [INFO] [stdout] test tests::duplicate_keys_allow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Doc-tests json_spanned_value [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" "2f3690047bbb0c5e974671c8790d23e2ce917c9e3fb0860653bf05c67b699d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3690047bbb0c5e974671c8790d23e2ce917c9e3fb0860653bf05c67b699d1c", kill_on_drop: false }` [INFO] [stdout] 2f3690047bbb0c5e974671c8790d23e2ce917c9e3fb0860653bf05c67b699d1c