[INFO] fetching crate jellyschema 0.11.10... [INFO] testing jellyschema-0.11.10 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate jellyschema 0.11.10 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jellyschema 0.11.10 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v0.5.1 [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] [stderr] Downloaded balena-temen v0.5.7 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32f52201f059070dbc93d098d81d0d461a653ca7d540eebd89ffbfdbb9aa0ceb [INFO] running `Command { std: "docker" "start" "-a" "32f52201f059070dbc93d098d81d0d461a653ca7d540eebd89ffbfdbb9aa0ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32f52201f059070dbc93d098d81d0d461a653ca7d540eebd89ffbfdbb9aa0ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f52201f059070dbc93d098d81d0d461a653ca7d540eebd89ffbfdbb9aa0ceb", kill_on_drop: false }` [INFO] [stdout] 32f52201f059070dbc93d098d81d0d461a653ca7d540eebd89ffbfdbb9aa0ceb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e96c3d4c2e31c9ebae740fa54f12846ae8826a376bbdc43206255b40b473a9c9 [INFO] running `Command { std: "docker" "start" "-a" "e96c3d4c2e31c9ebae740fa54f12846ae8826a376bbdc43206255b40b473a9c9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling strfmt v0.1.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling jellyschema v0.11.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling slug v0.1.6 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.01s [INFO] running `Command { std: "docker" "inspect" "e96c3d4c2e31c9ebae740fa54f12846ae8826a376bbdc43206255b40b473a9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96c3d4c2e31c9ebae740fa54f12846ae8826a376bbdc43206255b40b473a9c9", kill_on_drop: false }` [INFO] [stdout] e96c3d4c2e31c9ebae740fa54f12846ae8826a376bbdc43206255b40b473a9c9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c4e6fdacfc5ef9ab28fd7648c2d1c08841ae657c783f4d7abddc589615997ac [INFO] running `Command { std: "docker" "start" "-a" "7c4e6fdacfc5ef9ab28fd7648c2d1c08841ae657c783f4d7abddc589615997ac", kill_on_drop: false }` [INFO] [stderr] Compiling difference v2.0.0 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling pretty_assertions v0.5.1 [INFO] [stderr] Compiling jellyschema v0.11.10 (/opt/rustwide/workdir) [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: 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `jellyschema` (test "tests") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7c4e6fdacfc5ef9ab28fd7648c2d1c08841ae657c783f4d7abddc589615997ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4e6fdacfc5ef9ab28fd7648c2d1c08841ae657c783f4d7abddc589615997ac", kill_on_drop: false }` [INFO] [stdout] 7c4e6fdacfc5ef9ab28fd7648c2d1c08841ae657c783f4d7abddc589615997ac