[INFO] fetching crate trans-gen-go 0.3.0-alpha.0... [INFO] checking trans-gen-go-0.3.0-alpha.0 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate trans-gen-go 0.3.0-alpha.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate trans-gen-go 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-go 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate trans-gen-go 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate trans-gen-go 0.3.0-alpha.0 written to /workspace/builds/worker-3/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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] b02adf4d2233f4d6b5de0c441954c2a62d39ed39d798f8a6d9ad37ec8186557f [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" "b02adf4d2233f4d6b5de0c441954c2a62d39ed39d798f8a6d9ad37ec8186557f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b02adf4d2233f4d6b5de0c441954c2a62d39ed39d798f8a6d9ad37ec8186557f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02adf4d2233f4d6b5de0c441954c2a62d39ed39d798f8a6d9ad37ec8186557f", kill_on_drop: false }` [INFO] [stdout] b02adf4d2233f4d6b5de0c441954c2a62d39ed39d798f8a6d9ad37ec8186557f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] b7c9754dbdf1395317a6dc9a749b52201b5477b47417e1cee9578d21df08e5f0 [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" "b7c9754dbdf1395317a6dc9a749b52201b5477b47417e1cee9578d21df08e5f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.32 [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 syn v1.0.39 [INFO] [stderr] Compiling include_dir_impl v0.6.0 [INFO] [stderr] Compiling trans-derive v0.3.0-alpha.2 [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-go 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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | 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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Schema::Int32 => "int32".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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Schema::Int64 => "int64".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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Schema::Float32 => "float32".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::Float64 => "float64".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::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:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | | 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:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | | 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:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Schema::Vec(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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Schema::Map(key, value) => format!("map[{}]{}", 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:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | | 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:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | | 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:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | | 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:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | | 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:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | | 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:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | | Schema::Enum { .. } [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | | 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:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | | 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:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | | Schema::Option(_) => 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:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Schema::Struct(struc) => 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:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Schema::OneOf { variants, .. } => 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | | 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:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | | 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:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | | 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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | | 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:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | | 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:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | | 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:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | | 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:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | | 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:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | | Schema::Option(_) => 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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Schema::Struct(struc) => struct_need_stream(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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Schema::OneOf { variants, .. } => 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:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | 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:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | | 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:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | | 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:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | 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:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | 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:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | 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:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | 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:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | 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:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | 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:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | 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:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | 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:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | 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:306:37 [INFO] [stdout] | [INFO] [stdout] 306 | 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:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | 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:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | 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:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | 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:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | 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:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | 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:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | 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:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | | 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:499:15 [INFO] [stdout] | [INFO] [stdout] 499 | | 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:500:15 [INFO] [stdout] | [INFO] [stdout] 500 | | 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:501:15 [INFO] [stdout] | [INFO] [stdout] 501 | | 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:502:15 [INFO] [stdout] | [INFO] [stdout] 502 | | 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:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | | 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:504:15 [INFO] [stdout] | [INFO] [stdout] 504 | | 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:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | | 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:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | 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:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | 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:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn needs_stream(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:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | fn needs_stream_inner(schema: &Schema) -> bool { [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:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn struct_need_stream(struc: &Struct) -> bool { [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:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | 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:92:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | 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:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | 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:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | 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:286:61 [INFO] [stdout] | [INFO] [stdout] 286 | 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:379:37 [INFO] [stdout] | [INFO] [stdout] 379 | 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:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | fn result(mut 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[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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | 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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Schema::Int32 => "int32".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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Schema::Int64 => "int64".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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Schema::Float32 => "float32".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::Float64 => "float64".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::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:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | | 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:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | | 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:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | 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:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Schema::Vec(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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Schema::Map(key, value) => format!("map[{}]{}", 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:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | 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:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | | 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:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | | 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:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | | 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:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | | 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:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | | 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:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | | Schema::Enum { .. } [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | | 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:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | | 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:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | | Schema::Option(_) => 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:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Schema::Struct(struc) => 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:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Schema::OneOf { variants, .. } => 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | | 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:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | | 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:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | | 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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | | 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:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | | 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:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | | 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:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | | 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:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | | 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:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | | Schema::Option(_) => 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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Schema::Struct(struc) => struct_need_stream(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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Schema::OneOf { variants, .. } => 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:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | 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:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | | 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:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | | 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:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | 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:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | 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:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | 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:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | 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:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | 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:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | 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:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | 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:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | 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:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | 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:306:37 [INFO] [stdout] | [INFO] [stdout] 306 | 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:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | 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:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | 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:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | 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:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | 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:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | 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:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | 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:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | 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:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | | 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:499:15 [INFO] [stdout] | [INFO] [stdout] 499 | | 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:500:15 [INFO] [stdout] | [INFO] [stdout] 500 | | 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:501:15 [INFO] [stdout] | [INFO] [stdout] 501 | | 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:502:15 [INFO] [stdout] | [INFO] [stdout] 502 | | 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:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | | 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:504:15 [INFO] [stdout] | [INFO] [stdout] 504 | | 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:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | | 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:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | 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:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | 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:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn needs_stream(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:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | fn needs_stream_inner(schema: &Schema) -> bool { [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:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn struct_need_stream(struc: &Struct) -> bool { [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:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | 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:92:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn write_struct( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 92 | 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:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | 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:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | 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:286:61 [INFO] [stdout] | [INFO] [stdout] 286 | 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:379:37 [INFO] [stdout] | [INFO] [stdout] 379 | 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:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | fn result(mut 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 85 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-go`. [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 85 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" "b7c9754dbdf1395317a6dc9a749b52201b5477b47417e1cee9578d21df08e5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c9754dbdf1395317a6dc9a749b52201b5477b47417e1cee9578d21df08e5f0", kill_on_drop: false }` [INFO] [stdout] b7c9754dbdf1395317a6dc9a749b52201b5477b47417e1cee9578d21df08e5f0