[INFO] fetching crate trans-gen-csharp 0.3.0-alpha.0... [INFO] checking trans-gen-csharp-0.3.0-alpha.0 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate trans-gen-csharp 0.3.0-alpha.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate trans-gen-csharp 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-csharp 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate trans-gen-csharp 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate trans-gen-csharp 0.3.0-alpha.0 written to /workspace/builds/worker-4/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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 69bd04ba4abaab7808e264ff989703d704c6ea11b36f8f5f1c486d395ef51595 [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" "69bd04ba4abaab7808e264ff989703d704c6ea11b36f8f5f1c486d395ef51595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69bd04ba4abaab7808e264ff989703d704c6ea11b36f8f5f1c486d395ef51595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69bd04ba4abaab7808e264ff989703d704c6ea11b36f8f5f1c486d395ef51595", kill_on_drop: false }` [INFO] [stdout] 69bd04ba4abaab7808e264ff989703d704c6ea11b36f8f5f1c486d395ef51595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 717de08a33cef906ab899563c2a20a8265109e3eb00cd82a4250cef34e8b42d6 [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" "717de08a33cef906ab899563c2a20a8265109e3eb00cd82a4250cef34e8b42d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling trans-derive v0.3.0-alpha.2 [INFO] [stderr] Compiling include_dir_impl v0.6.0 [INFO] [stderr] Checking include_dir v0.6.0 [INFO] [stderr] Checking trans v0.3.0-alpha.2 [INFO] [stderr] Checking trans-gen-core v0.3.0-alpha.2 [INFO] [stderr] Checking trans-gen-csharp 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:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | | 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:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | | 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:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | | 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:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | | 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:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | | 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:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | | Schema::Struct(_) => false, [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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | | 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:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | | 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:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | | Schema::Map(_, _) [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:11 [INFO] [stdout] | [INFO] [stdout] 48 | | Schema::OneOf { .. } => true, [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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Schema::Bool => "bool".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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | | 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:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Schema::Vec(inner) => type_name_prearray(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:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 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:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | 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:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | 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:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | 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:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | | 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:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | 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:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | 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:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | 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:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | 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:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | 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:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | 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:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | 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:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | 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:374:37 [INFO] [stdout] | [INFO] [stdout] 374 | 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:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | 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:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | 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:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | 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:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | 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 `Name` [INFO] [stdout] --> src/lib.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | main_namespace: Name::new(name.to_owned()).camel_case(conv), [INFO] [stdout] | ^^^^ use of undeclared type or module `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | 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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | 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:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | Schema::OneOf { [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:557:13 [INFO] [stdout] | [INFO] [stdout] 557 | 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:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | | 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:559:15 [INFO] [stdout] | [INFO] [stdout] 559 | | 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:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | | 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:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | | 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:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | | 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:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | | 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:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | | 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:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | | 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:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_null(value: &str, 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:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn option_unwrap(name: &str, 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:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn nullable(schema: &Schema) -> bool { [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:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | 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:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | 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:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | 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:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | 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 `Struct` in this scope [INFO] [stdout] --> src/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 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:110:20 [INFO] [stdout] | [INFO] [stdout] 107 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | 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:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | 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:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | 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:347:61 [INFO] [stdout] | [INFO] [stdout] 347 | 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:455:37 [INFO] [stdout] | [INFO] [stdout] 455 | 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:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | | 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:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | | 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:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | | 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:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | | 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:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | | 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:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | | Schema::Struct(_) => false, [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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | | 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:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | | 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:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | | Schema::Map(_, _) [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:11 [INFO] [stdout] | [INFO] [stdout] 48 | | Schema::OneOf { .. } => true, [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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Schema::Bool => "bool".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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | | 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:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Schema::Vec(inner) => type_name_prearray(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:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 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:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | 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:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | 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:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | 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:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | | 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:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | 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:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | 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:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | 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:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | 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:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | 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:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | 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:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | 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:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | 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:374:37 [INFO] [stdout] | [INFO] [stdout] 374 | 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:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | 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:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | 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:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | 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:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | 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 `Name` [INFO] [stdout] --> src/lib.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | main_namespace: Name::new(name.to_owned()).camel_case(conv), [INFO] [stdout] | ^^^^ use of undeclared type or module `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | 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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | 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:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | 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:557:13 [INFO] [stdout] | [INFO] [stdout] 557 | 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:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | | 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:559:15 [INFO] [stdout] | [INFO] [stdout] 559 | | 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:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | | 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:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | | 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:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | | 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:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | | 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:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | | 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:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | | 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:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_null(value: &str, 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:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn option_unwrap(name: &str, 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:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn nullable(schema: &Schema) -> bool { [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:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | 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:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | fn type_name_prearray(schema: &Schema) -> String { [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:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | 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[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | 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:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | 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 `Struct` in this scope [INFO] [stdout] --> src/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 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:110:20 [INFO] [stdout] | [INFO] [stdout] 107 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | 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:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | 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:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | 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:347:61 [INFO] [stdout] | [INFO] [stdout] 347 | 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:455:37 [INFO] [stdout] | [INFO] [stdout] 455 | 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:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | 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 77 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-csharp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 77 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: build failed [INFO] running `Command { std: "docker" "inspect" "717de08a33cef906ab899563c2a20a8265109e3eb00cd82a4250cef34e8b42d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717de08a33cef906ab899563c2a20a8265109e3eb00cd82a4250cef34e8b42d6", kill_on_drop: false }` [INFO] [stdout] 717de08a33cef906ab899563c2a20a8265109e3eb00cd82a4250cef34e8b42d6