[INFO] fetching crate trans-gen-rust 0.3.0-alpha.0... [INFO] checking trans-gen-rust-0.3.0-alpha.0 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate trans-gen-rust 0.3.0-alpha.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate trans-gen-rust 0.3.0-alpha.0 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate trans-gen-rust 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate trans-gen-rust 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate trans-gen-rust 0.3.0-alpha.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff3926329a85c91f415fa5eb10082d1c124b35a0f41f93bde33aa37e093ba3cf [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" "ff3926329a85c91f415fa5eb10082d1c124b35a0f41f93bde33aa37e093ba3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff3926329a85c91f415fa5eb10082d1c124b35a0f41f93bde33aa37e093ba3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3926329a85c91f415fa5eb10082d1c124b35a0f41f93bde33aa37e093ba3cf", kill_on_drop: false }` [INFO] [stdout] ff3926329a85c91f415fa5eb10082d1c124b35a0f41f93bde33aa37e093ba3cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2e9a342cad4c7dac4fb39bf86fc6c511c91af0a3dd99f3d7cb30d8ffa536f2e4 [INFO] running `Command { std: "docker" "start" "-a" "2e9a342cad4c7dac4fb39bf86fc6c511c91af0a3dd99f3d7cb30d8ffa536f2e4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.32 [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-rust 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:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Schema::Int32 => "i32".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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Schema::Int64 => "i64".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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Schema::Float32 => "f32".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::Float64 => "f64".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::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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Schema::Option(inner) => format!("Option<{}>", 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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Schema::Struct(Struct { name, .. }) => name.camel_case(conv), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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::OneOf { base_name, .. } => base_name.camel_case(conv), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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::Vec(inner) => format!("Vec<{}>", 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:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Schema::Map(key_type, value_type) => format!( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Schema::Enum { base_name, .. } => base_name.camel_case(conv), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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:13 [INFO] [stdout] | [INFO] [stdout] 53 | Schema::Struct(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:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | 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:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | 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:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | 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:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | | 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:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | | 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:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | | 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:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | | 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:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | | 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:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | | 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:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | | 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:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | | 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:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | 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:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | Schema::Struct(Struct { name, .. }) => name.camel_case(conv), [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:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn add_only(&mut self, 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:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | Schema::Struct(Struct { [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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | 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 30 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] [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:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Schema::Int32 => "i32".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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Schema::Int64 => "i64".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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Schema::Float32 => "f32".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::Float64 => "f64".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::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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Schema::Option(inner) => format!("Option<{}>", 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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Schema::Struct(Struct { name, .. }) => name.camel_case(conv), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trans-gen-rust`. [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[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Schema::OneOf { base_name, .. } => base_name.camel_case(conv), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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::Vec(inner) => format!("Vec<{}>", 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:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Schema::Map(key_type, value_type) => format!( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Schema` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Schema::Enum { base_name, .. } => base_name.camel_case(conv), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `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:13 [INFO] [stdout] | [INFO] [stdout] 53 | Schema::Struct(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:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | 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:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | 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:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | 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:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | | 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:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | | 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:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | | 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:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | | 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:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | | 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:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | | 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:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | | 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:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | | 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:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | 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:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | Schema::Struct(Struct { name, .. }) => name.camel_case(conv), [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:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn add_only(&mut self, 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:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | Schema::Struct(Struct { [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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | 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 30 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" "2e9a342cad4c7dac4fb39bf86fc6c511c91af0a3dd99f3d7cb30d8ffa536f2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9a342cad4c7dac4fb39bf86fc6c511c91af0a3dd99f3d7cb30d8ffa536f2e4", kill_on_drop: false }` [INFO] [stdout] 2e9a342cad4c7dac4fb39bf86fc6c511c91af0a3dd99f3d7cb30d8ffa536f2e4