[INFO] cloning repository https://github.com/jblestang/AIJSONSchemaFuzzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jblestang/AIJSONSchemaFuzzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjblestang%2FAIJSONSchemaFuzzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjblestang%2FAIJSONSchemaFuzzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 809d3ed3b05b384ffab09501f754a6b6251c2b80 [INFO] testing jblestang/AIJSONSchemaFuzzer against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjblestang%2FAIJSONSchemaFuzzer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 38% (3815/9875) Updating files: 39% (3852/9875) Updating files: 40% (3950/9875) Updating files: 41% (4049/9875) Updating files: 42% (4148/9875) Updating files: 43% (4247/9875) Updating files: 44% (4345/9875) Updating files: 45% (4444/9875) Updating files: 46% (4543/9875) Updating files: 47% (4642/9875) Updating files: 48% (4740/9875) Updating files: 49% (4839/9875) Updating files: 50% (4938/9875) Updating files: 51% (5037/9875) Updating files: 52% (5135/9875) Updating files: 53% (5234/9875) Updating files: 54% (5333/9875) Updating files: 55% (5432/9875) Updating files: 56% (5530/9875) Updating files: 57% (5629/9875) Updating files: 58% (5728/9875) Updating files: 59% (5827/9875) Updating files: 60% (5925/9875) Updating files: 61% (6024/9875) Updating files: 62% (6123/9875) Updating files: 63% (6222/9875) Updating files: 64% (6320/9875) Updating files: 65% (6419/9875) Updating files: 66% (6518/9875) Updating files: 67% (6617/9875) Updating files: 68% (6715/9875) Updating files: 69% (6814/9875) Updating files: 70% (6913/9875) Updating files: 71% (7012/9875) Updating files: 72% (7110/9875) Updating files: 73% (7209/9875) Updating files: 74% (7308/9875) Updating files: 75% (7407/9875) Updating files: 76% (7505/9875) Updating files: 77% (7604/9875) Updating files: 78% (7703/9875) Updating files: 79% (7802/9875) Updating files: 80% (7900/9875) Updating files: 81% (7999/9875) Updating files: 81% (8040/9875) Updating files: 82% (8098/9875) Updating files: 83% (8197/9875) Updating files: 84% (8295/9875) Updating files: 85% (8394/9875) Updating files: 86% (8493/9875) Updating files: 87% (8592/9875) Updating files: 87% (8664/9875) Updating files: 88% (8690/9875) Updating files: 89% (8789/9875) Updating files: 90% (8888/9875) Updating files: 91% (8987/9875) Updating files: 92% (9085/9875) Updating files: 93% (9184/9875) Updating files: 94% (9283/9875) Updating files: 94% (9347/9875) Updating files: 95% (9382/9875) Updating files: 96% (9480/9875) Updating files: 97% (9579/9875) Updating files: 98% (9678/9875) Updating files: 99% (9777/9875) Updating files: 100% (9875/9875) Updating files: 100% (9875/9875), done. [INFO] started tweaking git repo https://github.com/jblestang/AIJSONSchemaFuzzer [INFO] finished tweaking git repo https://github.com/jblestang/AIJSONSchemaFuzzer [INFO] tweaked toml for git repo https://github.com/jblestang/AIJSONSchemaFuzzer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jblestang/AIJSONSchemaFuzzer on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jblestang/AIJSONSchemaFuzzer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b [INFO] running `Command { std: "docker" "start" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling jtd-validator-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsonSchemaObject` [INFO] [stdout] --> src/schema/json_schema_parser.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::schema::json_schema::{JsonSchema2020, JsonSchemaObject}; [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 imports: `JtdSchema`, `SchemaForm`, and `TypeName` [INFO] [stdout] --> src/schema/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ast::{JtdSchema, SchemaForm, TypeName}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_schema_file` and `parse_schema` [INFO] [stdout] --> src/schema/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub use parser::{parse_schema, parse_schema_file}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `validate_reference` and `validate_schema_syntax` [INFO] [stdout] --> src/schema/mod.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub use syntax_checks::{validate_reference, validate_schema_syntax}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsonSchema2020`, `JsonSchemaObject`, and `JsonSchemaType` [INFO] [stdout] --> src/schema/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub use json_schema::{JsonSchema2020, JsonSchemaObject, JsonSchemaType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_json_schema_file`, `parse_json_schema`, and `resolve_ref` [INFO] [stdout] --> src/schema/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub use json_schema_parser::{parse_json_schema, parse_json_schema_file, resolve_ref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SchemaFormat`, `UnifiedSchema`, `detect_schema_format`, `parse_schema_auto`, and `parse_schema_file_auto` [INFO] [stdout] --> src/schema/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub use unified_parser::{parse_schema_auto, parse_schema_file_auto, detect_schema_format, UnifiedSchema, SchemaFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/schema/syntax_checks.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | for (name, def_schema) in definitions { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_for_if` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:289:25 [INFO] [stdout] | [INFO] [stdout] 289 | let valid_for_if = generate_json_schema_valid_value(if_schema); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_for_if` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern_str` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(ref pattern_str) = schema.pattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_path` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | if let Some(ref ref_path) = schema.ref_ { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_schema` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:505:25 [INFO] [stdout] | [INFO] [stdout] 505 | if let Some(ref if_schema) = schema.if_ { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:940:32 [INFO] [stdout] | [INFO] [stdout] 940 | fn generate_contains_violation(schema: &JsonSchemaObject, contains: &JsonSchema2020) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_schema_file` is never used [INFO] [stdout] --> src/schema/parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_schema_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_json_schema_file` is never used [INFO] [stdout] --> src/schema/json_schema_parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_json_schema_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SchemaFormat` is never used [INFO] [stdout] --> src/schema/unified_parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum SchemaFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_schema_format` is never used [INFO] [stdout] --> src/schema/unified_parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn detect_schema_format(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_schema` is never used [INFO] [stdout] --> src/tests/json_schema_test_cases.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn make_schema(s: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/fuzzer/mutation_names.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl SemanticMutationName { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/fuzzer/mutation_names.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl JsonSchemaSemanticMutationName { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.16s [INFO] running `Command { std: "docker" "inspect" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling jtd-validator-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsonSchemaObject` [INFO] [stdout] --> src/schema/json_schema_parser.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::schema::json_schema::{JsonSchema2020, JsonSchemaObject}; [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 imports: `JtdSchema`, `SchemaForm`, and `TypeName` [INFO] [stdout] --> src/schema/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ast::{JtdSchema, SchemaForm, TypeName}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_schema_file` and `parse_schema` [INFO] [stdout] --> src/schema/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub use parser::{parse_schema, parse_schema_file}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `validate_reference` and `validate_schema_syntax` [INFO] [stdout] --> src/schema/mod.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub use syntax_checks::{validate_reference, validate_schema_syntax}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsonSchema2020`, `JsonSchemaObject`, and `JsonSchemaType` [INFO] [stdout] --> src/schema/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub use json_schema::{JsonSchema2020, JsonSchemaObject, JsonSchemaType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_json_schema_file`, `parse_json_schema`, and `resolve_ref` [INFO] [stdout] --> src/schema/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub use json_schema_parser::{parse_json_schema, parse_json_schema_file, resolve_ref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SchemaFormat`, `UnifiedSchema`, `detect_schema_format`, `parse_schema_auto`, and `parse_schema_file_auto` [INFO] [stdout] --> src/schema/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub use unified_parser::{parse_schema_auto, parse_schema_file_auto, detect_schema_format, UnifiedSchema, SchemaFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/schema/syntax_checks.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | for (name, def_schema) in definitions { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid_for_if` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:289:25 [INFO] [stdout] | [INFO] [stdout] 289 | let valid_for_if = generate_json_schema_valid_value(if_schema); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_for_if` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern_str` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(ref pattern_str) = schema.pattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_path` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | if let Some(ref ref_path) = schema.ref_ { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_schema` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:505:25 [INFO] [stdout] | [INFO] [stdout] 505 | if let Some(ref if_schema) = schema.if_ { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/fuzzer/json_schema_mutations.rs:940:32 [INFO] [stdout] | [INFO] [stdout] 940 | fn generate_contains_violation(schema: &JsonSchemaObject, contains: &JsonSchema2020) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_schema_file` is never used [INFO] [stdout] --> src/schema/parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_schema_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_json_schema_file` is never used [INFO] [stdout] --> src/schema/json_schema_parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_json_schema_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SchemaFormat` is never used [INFO] [stdout] --> src/schema/unified_parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum SchemaFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_schema_format` is never used [INFO] [stdout] --> src/schema/unified_parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn detect_schema_format(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_schema` is never used [INFO] [stdout] --> src/tests/json_schema_test_cases.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn make_schema(s: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/fuzzer/mutation_names.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl SemanticMutationName { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/fuzzer/mutation_names.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl JsonSchemaSemanticMutationName { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rstest` [INFO] [stderr] --> Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | rstest = "0.18" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rstest` [INFO] [stderr] warning: `jtd-validator-tests` (manifest) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.93s [INFO] running `Command { std: "docker" "inspect" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `JsonSchemaObject` [INFO] [stderr] --> src/schema/json_schema_parser.rs:2:50 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::schema::json_schema::{JsonSchema2020, JsonSchemaObject}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JtdSchema`, `SchemaForm`, and `TypeName` [INFO] [stderr] --> src/schema/mod.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | pub use ast::{JtdSchema, SchemaForm, TypeName}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `parse_schema_file` and `parse_schema` [INFO] [stderr] --> src/schema/mod.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | pub use parser::{parse_schema, parse_schema_file}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `validate_reference` and `validate_schema_syntax` [INFO] [stderr] --> src/schema/mod.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | pub use syntax_checks::{validate_reference, validate_schema_syntax}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JsonSchema2020`, `JsonSchemaObject`, and `JsonSchemaType` [INFO] [stderr] --> src/schema/mod.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | pub use json_schema::{JsonSchema2020, JsonSchemaObject, JsonSchemaType}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `parse_json_schema_file`, `parse_json_schema`, and `resolve_ref` [INFO] [stderr] --> src/schema/mod.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | pub use json_schema_parser::{parse_json_schema, parse_json_schema_file, resolve_ref}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SchemaFormat`, `UnifiedSchema`, `detect_schema_format`, `parse_schema_auto`, and `parse_schema_file_auto` [INFO] [stderr] --> src/schema/mod.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | pub use unified_parser::{parse_schema_auto, parse_schema_file_auto, detect_schema_format, UnifiedSchema, SchemaFormat}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/schema/syntax_checks.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | for (name, def_schema) in definitions { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `valid_for_if` [INFO] [stderr] --> src/fuzzer/json_schema_mutations.rs:289:25 [INFO] [stderr] | [INFO] [stderr] 289 | let valid_for_if = generate_json_schema_valid_value(if_schema); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_for_if` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern_str` [INFO] [stderr] --> src/fuzzer/json_schema_mutations.rs:402:17 [INFO] [stderr] | [INFO] [stderr] 402 | if let Some(ref pattern_str) = schema.pattern { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ref_path` [INFO] [stderr] --> src/fuzzer/json_schema_mutations.rs:438:17 [INFO] [stderr] | [INFO] [stderr] 438 | if let Some(ref ref_path) = schema.ref_ { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `if_schema` [INFO] [stderr] --> src/fuzzer/json_schema_mutations.rs:505:25 [INFO] [stderr] | [INFO] [stderr] 505 | if let Some(ref if_schema) = schema.if_ { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_schema` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema` [INFO] [stderr] --> src/fuzzer/json_schema_mutations.rs:940:32 [INFO] [stderr] | [INFO] [stderr] 940 | fn generate_contains_violation(schema: &JsonSchemaObject, contains: &JsonSchema2020) -> Value { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stderr] [INFO] [stderr] warning: function `parse_schema_file` is never used [INFO] [stderr] --> src/schema/parser.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn parse_schema_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_json_schema_file` is never used [INFO] [stderr] --> src/schema/json_schema_parser.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn parse_json_schema_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `SchemaFormat` is never used [INFO] [stderr] --> src/schema/unified_parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum SchemaFormat { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `detect_schema_format` is never used [INFO] [stderr] --> src/schema/unified_parser.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn detect_schema_format(json: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `make_schema` is never used [INFO] [stderr] --> src/tests/json_schema_test_cases.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn make_schema(s: &str) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `description` is never used [INFO] [stderr] --> src/fuzzer/mutation_names.rs:228:12 [INFO] [stderr] | [INFO] [stderr] 131 | impl SemanticMutationName { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 228 | pub fn description(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/fuzzer/mutation_names.rs:419:12 [INFO] [stderr] | [INFO] [stderr] 379 | impl JsonSchemaSemanticMutationName { [INFO] [stderr] | ----------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 419 | pub fn from_str(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jtd-validator-tests` (bin "jtd-validator-tests" test) generated 20 warnings (run `cargo fix --bin "jtd-validator-tests" -p jtd-validator-tests --tests` to apply 13 suggestions) [INFO] [stderr] warning: unused dependency `rstest` [INFO] [stderr] --> Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | rstest = "0.18" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rstest` [INFO] [stderr] warning: `jtd-validator-tests` (manifest) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/jtd-validator-tests/5523273cbd8a813e/out/jtd_validator_tests-5523273cbd8a813e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::runner::tests::test_basic_validation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b", kill_on_drop: false }` [INFO] [stdout] 13cae1e37da6937fff871d3662b5e4e5d47541d2a616512c246d47fa9798292b