[INFO] fetching crate trans-gen-kotlin 0.3.0-alpha.0... [INFO] checking trans-gen-kotlin-0.3.0-alpha.0 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate trans-gen-kotlin 0.3.0-alpha.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate trans-gen-kotlin 0.3.0-alpha.0 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate trans-gen-kotlin 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate trans-gen-kotlin 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate trans-gen-kotlin 0.3.0-alpha.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b998fbd73211bd263c1f2f83c9c2209b5daf07d9df053ebd63e53f5d41c5fb4a [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" "b998fbd73211bd263c1f2f83c9c2209b5daf07d9df053ebd63e53f5d41c5fb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b998fbd73211bd263c1f2f83c9c2209b5daf07d9df053ebd63e53f5d41c5fb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b998fbd73211bd263c1f2f83c9c2209b5daf07d9df053ebd63e53f5d41c5fb4a", kill_on_drop: false }` [INFO] [stdout] b998fbd73211bd263c1f2f83c9c2209b5daf07d9df053ebd63e53f5d41c5fb4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8115eff1b5ca93cbba2a27a541354c9deebf2e88c851a6259406183151c8780b [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" "8115eff1b5ca93cbba2a27a541354c9deebf2e88c851a6259406183151c8780b", 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] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking once_cell v1.4.1 [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-kotlin 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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | 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:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | | 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:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | | 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Schema::Option(inner) => format!("{}?", type_name(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:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Schema::Vec(inner) => format!("Array<{}>", type_name(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:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Schema::Map(key, value) => format!("MutableMap<{}, {}>", type_name(key), type_name(value)), [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:9 [INFO] [stdout] | [INFO] [stdout] 41 | Schema::Bool => "false".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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Schema::Int32 => "0".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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Schema::Int64 => "0L".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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Schema::Float32 => "0.0f".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:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Schema::Float64 => "0.0".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::Option(_) => "null".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::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:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | | Schema::Struct(_) [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:11 [INFO] [stdout] | [INFO] [stdout] 49 | | 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:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | | 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:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | | 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:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | | Schema::Map(_, _) => unreachable!(), [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 [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:11 [INFO] [stdout] | [INFO] [stdout] 59 | | 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:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | | 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:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | | 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:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | | 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:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | | Schema::Option(_) => 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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | | Schema::Struct(_) [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:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | | 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:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | | 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:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | | 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:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | | Schema::Map(_, _) => 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:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | 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:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | 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:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | 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:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | 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:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | 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:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | 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:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | 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:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | | 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:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | 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:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | 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:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | 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:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | 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:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | 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:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | 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:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | 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:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | 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:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | 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:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | 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:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | 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:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | 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:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | 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:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | 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:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | 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:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | 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:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | 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:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:15 [INFO] [stdout] | [INFO] [stdout] 499 | | 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:500:15 [INFO] [stdout] | [INFO] [stdout] 500 | | 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:501:15 [INFO] [stdout] | [INFO] [stdout] 501 | | 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:502:15 [INFO] [stdout] | [INFO] [stdout] 502 | | 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:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | | 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:504:15 [INFO] [stdout] | [INFO] [stdout] 504 | | 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:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | | 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:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | | 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[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | 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:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn default_value(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:26 [INFO] [stdout] | [INFO] [stdout] 56 | fn can_lateinit(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:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | 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:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | 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:96:20 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | 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:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | 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:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | 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:310:61 [INFO] [stdout] | [INFO] [stdout] 310 | 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:396:37 [INFO] [stdout] | [INFO] [stdout] 396 | fn add_only(&mut self, schema: &Schema) { [INFO] [stdout] | ^^^^^^ not found in this scope [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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | 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:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Schema::Struct(Struct { name, .. }) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `result` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | 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[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | | 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:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | | 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Schema::Option(inner) => format!("{}?", type_name(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:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Schema::Vec(inner) => format!("Array<{}>", type_name(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:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Schema::Map(key, value) => format!("MutableMap<{}, {}>", type_name(key), type_name(value)), [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:9 [INFO] [stdout] | [INFO] [stdout] 41 | Schema::Bool => "false".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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Schema::Int32 => "0".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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Schema::Int64 => "0L".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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Schema::Float32 => "0.0f".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:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Schema::Float64 => "0.0".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::Option(_) => "null".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::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:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | | Schema::Struct(_) [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:11 [INFO] [stdout] | [INFO] [stdout] 49 | | 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:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | | 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:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | | 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:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | | Schema::Map(_, _) => unreachable!(), [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 [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:11 [INFO] [stdout] | [INFO] [stdout] 59 | | 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:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | | 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:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | | 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:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | | 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:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | | Schema::Option(_) => 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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | | Schema::Struct(_) [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:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | | 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:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | | 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:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | | 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:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | | Schema::Map(_, _) => 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:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | 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:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | 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:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | 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:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | 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:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | 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:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | 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:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | 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:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | | 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:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | 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:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | 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:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | 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:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | 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:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | 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:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | 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:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | 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:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | 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:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | 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:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | 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:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | 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:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | 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:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | 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:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | 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:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | 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:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | 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:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | 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:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | 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:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:15 [INFO] [stdout] | [INFO] [stdout] 499 | | 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:500:15 [INFO] [stdout] | [INFO] [stdout] 500 | | 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:501:15 [INFO] [stdout] | [INFO] [stdout] 501 | | 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:502:15 [INFO] [stdout] | [INFO] [stdout] 502 | | 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:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | | 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:504:15 [INFO] [stdout] | [INFO] [stdout] 504 | | 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:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | | 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:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | | 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[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | 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:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn default_value(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:26 [INFO] [stdout] | [INFO] [stdout] 56 | fn can_lateinit(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:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | 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:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | 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:96:20 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | 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:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | 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:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | 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:310:61 [INFO] [stdout] | [INFO] [stdout] 310 | 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:396:37 [INFO] [stdout] | [INFO] [stdout] 396 | 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:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | 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 86 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-kotlin`. [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 86 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" "8115eff1b5ca93cbba2a27a541354c9deebf2e88c851a6259406183151c8780b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8115eff1b5ca93cbba2a27a541354c9deebf2e88c851a6259406183151c8780b", kill_on_drop: false }` [INFO] [stdout] 8115eff1b5ca93cbba2a27a541354c9deebf2e88c851a6259406183151c8780b