[INFO] fetching crate trans-gen-java 0.3.0-alpha.0... [INFO] checking trans-gen-java-0.3.0-alpha.0 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate trans-gen-java 0.3.0-alpha.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate trans-gen-java 0.3.0-alpha.0 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate trans-gen-java 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate trans-gen-java 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate trans-gen-java 0.3.0-alpha.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6aa14a5b390a87afd3f824c7d4646cbd9217c6bd6ed9b8a2ba9cd0facede018 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c6aa14a5b390a87afd3f824c7d4646cbd9217c6bd6ed9b8a2ba9cd0facede018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6aa14a5b390a87afd3f824c7d4646cbd9217c6bd6ed9b8a2ba9cd0facede018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6aa14a5b390a87afd3f824c7d4646cbd9217c6bd6ed9b8a2ba9cd0facede018", kill_on_drop: false }` [INFO] [stdout] c6aa14a5b390a87afd3f824c7d4646cbd9217c6bd6ed9b8a2ba9cd0facede018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b232a68ebb81bcfd774f08c335fc1aed02e94f3fe4de4e3dc31241566f1699b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b232a68ebb81bcfd774f08c335fc1aed02e94f3fe4de4e3dc31241566f1699b", kill_on_drop: false }` [INFO] [stderr] Checking trans-gen-java v0.3.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `trans_gen_core::trans_schema` [INFO] [stdout] --> src/lib.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use trans_gen_core::trans_schema::*; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `trans_schema` in `trans_gen_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Schema::Bool => "Boolean".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Schema::Int32 => "Integer".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Schema::Int64 => "Long".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Schema::Float32 => "Float".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Schema::Float64 => "Double".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Schema::Bool => "Boolean".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Schema::Int32 => "Integer".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Schema::Int64 => "Long".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Schema::Float32 => "Float".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Schema::Float64 => "Double".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Schema::Bool => "boolean".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Schema::Int32 => "int".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Schema::Int64 => "long".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Schema::Float32 => "float".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Schema::Float64 => "double".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Schema::String => "String".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | | Schema::OneOf { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | | Schema::Enum { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Schema::Option(inner) => type_name_obj(inner), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Schema::Vec(inner) => type_name_prearray_obj(inner), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Schema::Map(key, value) => format!( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Schema::Vec(inner) => format!("[]{}", type_post_array(inner)), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | Schema::Bool => "is", [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | Schema::Bool => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | Schema::Int32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | Schema::Int64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Schema::Float32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | Schema::Float64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Schema::String => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | | Schema::OneOf { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | Schema::Option(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | Schema::Vec(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | Schema::Map(key_type, value_type) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trans_gen_core::trans_schema` [INFO] [stdout] --> src/lib.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use trans_gen_core::trans_schema::*; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `trans_schema` in `trans_gen_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | Schema::Enum { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | Schema::Bool => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Schema::Bool => "Boolean".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | Schema::Int32 => "Integer".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Schema::Int64 => "Long".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Schema::Float32 => "Float".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Schema::Float64 => "Double".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | Schema::Int32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Schema::Bool => "Boolean".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | Schema::Int64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Schema::Int32 => "Integer".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Schema::Int64 => "Long".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | Schema::Float32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Schema::Float32 => "Float".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Schema::Float64 => "Double".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Schema::Bool => "boolean".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | Schema::Float64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Schema::Int32 => "int".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Schema::Int64 => "long".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | Schema::String => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Schema::Float32 => "float".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Schema::Float64 => "double".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | Schema::Struct(_) | Schema::OneOf { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Schema::String => "String".to_owned(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:357:37 [INFO] [stdout] | [INFO] [stdout] 357 | Schema::Struct(_) | Schema::OneOf { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | Schema::Option(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | Schema::Vec(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | | Schema::OneOf { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | Schema::Map(key_type, value_type) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | | Schema::Enum { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Schema::Option(inner) => type_name_obj(inner), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Schema::Vec(inner) => type_name_prearray_obj(inner), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Schema::Map(key, value) => format!( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Schema::Vec(inner) => format!("[]{}", type_post_array(inner)), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | Schema::Bool => "is", [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | Schema::Enum { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | Schema::Enum { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | Schema::Struct(struc) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | Schema::OneOf { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | Schema::Bool [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 557 | | Schema::Int32 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | | Schema::Int64 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:559:15 [INFO] [stdout] | [INFO] [stdout] 559 | | Schema::Float32 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | | Schema::Float64 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | | Schema::String [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | | Schema::Option(_) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | | Schema::Vec(_) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | | Schema::Map(_, _) => {} [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn type_name(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn type_name_obj(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn type_name_prearray_obj(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn type_name_prearray(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | fn type_post_array(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | fn getter_prefix(schema: &Schema) -> &'static str { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | struc: &Struct, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/lib.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 96 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 99 | base: Option<(&Name, usize)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | Schema::Bool => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | Schema::Int32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | Schema::Int64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Schema::Float32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | Schema::Float64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Schema::String => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | | Schema::OneOf { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | Schema::Option(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | Schema::Vec(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | Schema::Map(key_type, value_type) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | schema: &Schema, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:337:61 [INFO] [stdout] | [INFO] [stdout] 337 | fn write(writer: &mut Writer, value: &str, schema: &Schema) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | Schema::Enum { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:445:37 [INFO] [stdout] | [INFO] [stdout] 445 | fn add_only(&mut self, schema: &Schema) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | Schema::Bool => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | Schema::Int32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | Schema::Int64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | Schema::Float32 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | Schema::Float64 => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | Schema::String => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | Schema::Struct(_) | Schema::OneOf { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:357:37 [INFO] [stdout] | [INFO] [stdout] 357 | Schema::Struct(_) | Schema::OneOf { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | Schema::Option(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | Schema::Vec(inner) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | Schema::Map(key_type, value_type) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | Schema::Enum { .. } => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | Schema::Enum { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | Schema::Struct(struc) => { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | Schema::OneOf { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | Schema::Bool [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 557 | | Schema::Int32 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | | Schema::Int64 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:559:15 [INFO] [stdout] | [INFO] [stdout] 559 | | Schema::Float32 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | | Schema::Float64 [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | | Schema::String [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | | Schema::Option(_) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | | Schema::Vec(_) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | | Schema::Map(_, _) => {} [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn type_name(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn type_name_obj(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn type_name_prearray_obj(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn type_name_prearray(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | fn type_post_array(schema: &Schema) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | fn getter_prefix(schema: &Schema) -> &'static str { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | struc: &Struct, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/lib.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 96 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 99 | base: Option<(&Name, usize)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | schema: &Schema, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:337:61 [INFO] [stdout] | [INFO] [stdout] 337 | fn write(writer: &mut Writer, value: &str, schema: &Schema) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> src/lib.rs:445:37 [INFO] [stdout] | [INFO] [stdout] 445 | fn add_only(&mut self, schema: &Schema) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `result` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | fn result(self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `trans_gen_core::GenResult`, found struct `std::collections::HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(Generator) -> trans_gen_core::GenResult` [INFO] [stdout] found fn pointer `fn(Generator) -> std::collections::HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `result` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | fn result(self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `trans_gen_core::GenResult`, found struct `std::collections::HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(Generator) -> trans_gen_core::GenResult` [INFO] [stdout] found fn pointer `fn(Generator) -> std::collections::HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trans-gen-java`. [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0053, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0b232a68ebb81bcfd774f08c335fc1aed02e94f3fe4de4e3dc31241566f1699b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b232a68ebb81bcfd774f08c335fc1aed02e94f3fe4de4e3dc31241566f1699b", kill_on_drop: false }` [INFO] [stdout] 0b232a68ebb81bcfd774f08c335fc1aed02e94f3fe4de4e3dc31241566f1699b