[INFO] fetching crate jellyschema 0.11.10... [INFO] testing jellyschema-0.11.10 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate jellyschema 0.11.10 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jellyschema 0.11.10 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [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.23.0) [INFO] [stderr] Adding wasm-bindgen-test v0.2.50 (available: v0.3.67) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 757f808130315464992a07c26f55444d09b41f188d7f801b8ffa08c104e767dd [INFO] running `Command { std: "docker" "start" "-a" "757f808130315464992a07c26f55444d09b41f188d7f801b8ffa08c104e767dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "757f808130315464992a07c26f55444d09b41f188d7f801b8ffa08c104e767dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "757f808130315464992a07c26f55444d09b41f188d7f801b8ffa08c104e767dd", kill_on_drop: false }` [INFO] [stdout] 757f808130315464992a07c26f55444d09b41f188d7f801b8ffa08c104e767dd [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 770ddc04839e2e87ede76f9d011f55a977c15a7a073a3f93a5eb4091d362dad3 [INFO] running `Command { std: "docker" "start" "-a" "770ddc04839e2e87ede76f9d011f55a977c15a7a073a3f93a5eb4091d362dad3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling strfmt v0.1.6 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling pest v2.8.6 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pest_derive v2.8.6 [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 32.66s [INFO] running `Command { std: "docker" "inspect" "770ddc04839e2e87ede76f9d011f55a977c15a7a073a3f93a5eb4091d362dad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770ddc04839e2e87ede76f9d011f55a977c15a7a073a3f93a5eb4091d362dad3", kill_on_drop: false }` [INFO] [stdout] 770ddc04839e2e87ede76f9d011f55a977c15a7a073a3f93a5eb4091d362dad3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c9c7b57f45467aeef2c9916c97747db9778f797fbfca4331c0662bc915a88bc [INFO] running `Command { std: "docker" "start" "-a" "7c9c7b57f45467aeef2c9916c97747db9778f797fbfca4331c0662bc915a88bc", kill_on_drop: false }` [INFO] [stderr] Compiling ansi_term v0.11.0 [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: 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: 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] 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" "7c9c7b57f45467aeef2c9916c97747db9778f797fbfca4331c0662bc915a88bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9c7b57f45467aeef2c9916c97747db9778f797fbfca4331c0662bc915a88bc", kill_on_drop: false }` [INFO] [stdout] 7c9c7b57f45467aeef2c9916c97747db9778f797fbfca4331c0662bc915a88bc