[INFO] fetching crate jellyschema 0.11.10...
[INFO] checking jellyschema-0.11.10 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate jellyschema 0.11.10 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate jellyschema 0.11.10 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strfmt v0.1.6
[INFO] [stderr]   Downloaded balena-temen v0.5.7
[INFO] [stderr]   Downloaded rand v0.6.1
[INFO] [stderr]   Downloaded pretty_assertions v0.5.1
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c716304bc4aef5c3c59bc2262d7076de808a46ffbc99c367ce29bb028270801b
[INFO] running `Command { std: "docker" "start" "-a" "c716304bc4aef5c3c59bc2262d7076de808a46ffbc99c367ce29bb028270801b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c716304bc4aef5c3c59bc2262d7076de808a46ffbc99c367ce29bb028270801b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c716304bc4aef5c3c59bc2262d7076de808a46ffbc99c367ce29bb028270801b", kill_on_drop: false }`
[INFO] [stdout] c716304bc4aef5c3c59bc2262d7076de808a46ffbc99c367ce29bb028270801b
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1bc437ad5f8fbdff7d64dba42a6f2848f40943b6e2f2766d3e89426fa7b1f73c
[INFO] running `Command { std: "docker" "start" "-a" "1bc437ad5f8fbdff7d64dba42a6f2848f40943b6e2f2766d3e89426fa7b1f73c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling strfmt v0.1.6
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking deunicode v1.4.3
[INFO] [stderr]     Checking slug v0.1.5
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking chrono v0.4.37
[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 approx v0.3.2
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking base64 v0.22.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking pretty_assertions v0.5.1
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling pest v2.7.8
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling pest_meta v2.7.8
[INFO] [stderr]    Compiling pest_generator v2.7.8
[INFO] [stderr]    Compiling pest_derive v2.7.8
[INFO] [stderr]     Checking balena-temen v0.5.7
[INFO] [stdout] warning: the item `serde` is imported redundantly
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde;
[INFO] [stdout]   |     ^^^^^ the item `serde` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/validator/mod.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{self, Value};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]  --> src/validator/types/datetime.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono;
[INFO] [stdout]   |     ^^^^^^ the item `chrono` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/json_schema.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/ui_schema.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde` is imported redundantly
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde;
[INFO] [stdout]   |     ^^^^^ the item `serde` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/validator/mod.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{self, Value};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]  --> src/validator/types/datetime.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono;
[INFO] [stdout]   |     ^^^^^^ the item `chrono` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/json_schema.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/ui_schema.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[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: 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] 
[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 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] 
[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: method `as_deref` is never used
[INFO] [stdout]   --> src/deref.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub trait OptionDeref<T: Deref> {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn as_deref(&self) -> Option<&T::Target>;
[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: 14 warnings emitted
[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: method `as_deref` is never used
[INFO] [stdout]   --> src/deref.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub trait OptionDeref<T: Deref> {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn as_deref(&self) -> Option<&T::Target>;
[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: 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] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jellyschema` (test "tests") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1bc437ad5f8fbdff7d64dba42a6f2848f40943b6e2f2766d3e89426fa7b1f73c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bc437ad5f8fbdff7d64dba42a6f2848f40943b6e2f2766d3e89426fa7b1f73c", kill_on_drop: false }`
[INFO] [stdout] 1bc437ad5f8fbdff7d64dba42a6f2848f40943b6e2f2766d3e89426fa7b1f73c
[INFO] checking jellyschema-0.11.10 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate jellyschema 0.11.10 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate jellyschema 0.11.10 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4e23de5926737e9d2800ba0be7af4cfd8c50a4609df10f4d1ca9745d7da1768
[INFO] running `Command { std: "docker" "start" "-a" "c4e23de5926737e9d2800ba0be7af4cfd8c50a4609df10f4d1ca9745d7da1768", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4e23de5926737e9d2800ba0be7af4cfd8c50a4609df10f4d1ca9745d7da1768", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4e23de5926737e9d2800ba0be7af4cfd8c50a4609df10f4d1ca9745d7da1768", kill_on_drop: false }`
[INFO] [stdout] c4e23de5926737e9d2800ba0be7af4cfd8c50a4609df10f4d1ca9745d7da1768
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 686141bc47eeb8edb14c8ee3b97ac5c0cdb2ed77447d3d3e43f3b275a009c6b9
[INFO] running `Command { std: "docker" "start" "-a" "686141bc47eeb8edb14c8ee3b97ac5c0cdb2ed77447d3d3e43f3b275a009c6b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking deunicode v1.4.3
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling strfmt v0.1.6
[INFO] [stderr]     Checking slug v0.1.5
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]     Checking yaml-rust v0.4.5
[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 approx v0.3.2
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking base64 v0.22.0
[INFO] [stderr]     Checking pretty_assertions v0.5.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling pest v2.7.8
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling pest_meta v2.7.8
[INFO] [stderr]    Compiling pest_generator v2.7.8
[INFO] [stderr]    Compiling pest_derive v2.7.8
[INFO] [stderr]     Checking balena-temen v0.5.7
[INFO] [stdout] warning: the item `serde` is imported redundantly
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde;
[INFO] [stdout]   |     ^^^^^ the item `serde` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde` is imported redundantly
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde;
[INFO] [stdout]   |     ^^^^^ the item `serde` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/validator/mod.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{self, Value};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/validator/mod.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{self, Value};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]  --> src/validator/types/datetime.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono;
[INFO] [stdout]   |     ^^^^^^ the item `chrono` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]  --> src/validator/types/datetime.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono;
[INFO] [stdout]   |     ^^^^^^ the item `chrono` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/json_schema.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/ui_schema.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/json_schema.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/generator/serialization/ui_schema.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToString` is already defined here
[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: 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] 
[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 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] 
[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: method `as_deref` is never used
[INFO] [stdout]   --> src/deref.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub trait OptionDeref<T: Deref> {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn as_deref(&self) -> Option<&T::Target>;
[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: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_deref` is never used
[INFO] [stdout]   --> src/deref.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub trait OptionDeref<T: Deref> {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn as_deref(&self) -> Option<&T::Target>;
[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] 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: 14 warnings emitted
[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] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jellyschema` (test "tests") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "686141bc47eeb8edb14c8ee3b97ac5c0cdb2ed77447d3d3e43f3b275a009c6b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "686141bc47eeb8edb14c8ee3b97ac5c0cdb2ed77447d3d3e43f3b275a009c6b9", kill_on_drop: false }`
[INFO] [stdout] 686141bc47eeb8edb14c8ee3b97ac5c0cdb2ed77447d3d3e43f3b275a009c6b9
