[INFO] fetching crate jellyschema 0.11.10... [INFO] checking jellyschema-0.11.10 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate jellyschema 0.11.10 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate jellyschema 0.11.10 [INFO] finished tweaking crates.io crate jellyschema 0.11.10 [INFO] tweaked toml for crates.io crate jellyschema 0.11.10 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jellyschema 0.11.10 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding pretty_assertions v0.5.1 (available: v1.4.1) [INFO] [stderr] Adding rand v0.6.1 (available: v0.6.5) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding strfmt v0.1.6 (available: v0.2.5) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.0) [INFO] [stderr] Adding wasm-bindgen-test v0.2.50 (available: v0.3.50) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [INFO] [stderr] Downloaded balena-temen v0.5.7 [INFO] [stderr] Downloaded pretty_assertions v0.5.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.27 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] [stderr] Downloaded rand v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c176aa044ca48d218ca546e6f2ff59e55c9d25f9db8816e0e6cf7358d9ce7985 [INFO] running `Command { std: "docker" "start" "-a" "c176aa044ca48d218ca546e6f2ff59e55c9d25f9db8816e0e6cf7358d9ce7985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c176aa044ca48d218ca546e6f2ff59e55c9d25f9db8816e0e6cf7358d9ce7985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c176aa044ca48d218ca546e6f2ff59e55c9d25f9db8816e0e6cf7358d9ce7985", kill_on_drop: false }` [INFO] [stdout] c176aa044ca48d218ca546e6f2ff59e55c9d25f9db8816e0e6cf7358d9ce7985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96a83fde0f9cc286f37b270df5dad5513cb82b5f6061e7c87c2f293ad584e224 [INFO] running `Command { std: "docker" "start" "-a" "96a83fde0f9cc286f37b270df5dad5513cb82b5f6061e7c87c2f293ad584e224", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling strfmt v0.1.6 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling jellyschema v0.11.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> build.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.5.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking balena-temen v0.5.7 [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/validator/types/file.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | match base64::decode(&captures[3]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/validator/types/file.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | match base64::decode(&captures[3]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deref::OptionDeref` [INFO] [stdout] --> src/schema/mapping/target.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::deref::OptionDeref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deref::OptionDeref` [INFO] [stdout] --> src/schema/mapping/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::deref::OptionDeref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deref::OptionDeref` [INFO] [stdout] --> src/schema/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{deref::OptionDeref, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionDeref` is never used [INFO] [stdout] --> src/deref.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait OptionDeref { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deref::OptionDeref` [INFO] [stdout] --> src/schema/mapping/target.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::deref::OptionDeref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deref::OptionDeref` [INFO] [stdout] --> src/schema/mapping/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::deref::OptionDeref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deref::OptionDeref` [INFO] [stdout] --> src/schema/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{deref::OptionDeref, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | std::mem::replace(data, json!({})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = std::mem::replace(data, json!({})); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | std::mem::replace(data, default_value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = std::mem::replace(data, default_value.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | std::mem::replace(data, json!({})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = std::mem::replace(data, json!({})); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | std::mem::replace(data, json!([])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = std::mem::replace(data, json!([])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validator/scope.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(schema: &Schema) -> ScopedSchema { [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] 14 | pub fn new(schema: &Schema) -> ScopedSchema<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validator/scope.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn scope_with_data_index(&self, index: usize) -> ScopedSchema { [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] 36 | pub fn scope_with_data_index(&self, index: usize) -> ScopedSchema<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validator/scope.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn scope_with_schema_keyword>(&self, keyword: S) -> ScopedSchema { [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] 74 | pub fn scope_with_schema_keyword>(&self, keyword: S) -> ScopedSchema<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionDeref` is never used [INFO] [stdout] --> src/deref.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait OptionDeref { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | std::mem::replace(data, json!({})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = std::mem::replace(data, json!({})); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | std::mem::replace(data, default_value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = std::mem::replace(data, default_value.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | std::mem::replace(data, json!({})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = std::mem::replace(data, json!({})); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/filler/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | std::mem::replace(data, json!([])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = std::mem::replace(data, json!([])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validator/scope.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(schema: &Schema) -> ScopedSchema { [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] 14 | pub fn new(schema: &Schema) -> ScopedSchema<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validator/scope.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn scope_with_data_index(&self, index: usize) -> ScopedSchema { [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] 36 | pub fn scope_with_data_index(&self, index: usize) -> ScopedSchema<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validator/scope.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn scope_with_schema_keyword>(&self, keyword: S) -> ScopedSchema { [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] 74 | pub fn scope_with_schema_keyword>(&self, keyword: S) -> ScopedSchema<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `::`, or `=`, found `:` [INFO] [stdout] --> tests/tests.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | #[allow(clippy:all)] [INFO] [stdout] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> tests/tests.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[allow(clippy:all)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `include` [INFO] [stdout] --> tests/tests.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | include!(concat!(env!("OUT_DIR"), "/validator_data_tests.rs")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jellyschema` (test "tests") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "96a83fde0f9cc286f37b270df5dad5513cb82b5f6061e7c87c2f293ad584e224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a83fde0f9cc286f37b270df5dad5513cb82b5f6061e7c87c2f293ad584e224", kill_on_drop: false }` [INFO] [stdout] 96a83fde0f9cc286f37b270df5dad5513cb82b5f6061e7c87c2f293ad584e224