[INFO] fetching crate transproto 0.1.0... [INFO] checking transproto-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate transproto 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate transproto 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate transproto 0.1.0 [INFO] finished tweaking crates.io crate transproto 0.1.0 [INFO] tweaked toml for crates.io crate transproto 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 607f6840c9aaea63c6dc090db422f11af8c82edbfd65b28b40a6bb333be550a0 [INFO] running `Command { std: "docker" "start" "-a" "607f6840c9aaea63c6dc090db422f11af8c82edbfd65b28b40a6bb333be550a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "607f6840c9aaea63c6dc090db422f11af8c82edbfd65b28b40a6bb333be550a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607f6840c9aaea63c6dc090db422f11af8c82edbfd65b28b40a6bb333be550a0", kill_on_drop: false }` [INFO] [stdout] 607f6840c9aaea63c6dc090db422f11af8c82edbfd65b28b40a6bb333be550a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b6743e005391884e975afd88d3c8f4f098ca2b149fd357f32e5a3af57728ee1 [INFO] running `Command { std: "docker" "start" "-a" "3b6743e005391884e975afd88d3c8f4f098ca2b149fd357f32e5a3af57728ee1", kill_on_drop: false }` [INFO] [stderr] Checking transproto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `[u8; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/proto.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 82 | let mut buf: [u8; MAX_VARINT_SIZE] = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/proto.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 82 | let mut buf: [u8; MAX_VARINT_SIZE] = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `transcode` [INFO] [stdout] --> benches/bench.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use transcode::metadata::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `transcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `transcode` [INFO] [stdout] --> benches/bench.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use transcode::json::Iter; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `transcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `transcode` [INFO] [stdout] --> benches/bench.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use transcode::proto::{Decoder, Encoder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `transcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `transcode` [INFO] [stdout] --> benches/bench.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use transcode::{trans_json_to_proto, trans_proto_to_json}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `transcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> benches/bench.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_msg_elem_type() -> Type { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Type::Message(Message::new( [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> benches/bench.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Type::Message(Message::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | ty: Rc::new(Type::Int32), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | ty: Rc::new(Type::String), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> benches/bench.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_msg_foo_embed_type() -> Type { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Type::Message(Message::new( [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> benches/bench.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Type::Message(Message::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | ty: Rc::new(Type::Int32), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | ty: Rc::new(Type::String), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> benches/bench.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_msg_foo_type() -> Type { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Type::Message(Message::new( [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> benches/bench.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | Type::Message(Message::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | ty: Rc::new(Type::String), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | ty: Rc::new(Type::Bool), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | ty: Rc::new(Type::Int32), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | ty: Rc::new(Type::Array(Rc::new(Type::Int32))), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:77:49 [INFO] [stdout] | [INFO] [stdout] 77 | ty: Rc::new(Type::Array(Rc::new(Type::Int32))), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ty: Rc::new(Type::Array(Rc::new(Type::String))), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | ty: Rc::new(Type::Array(Rc::new(Type::String))), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> benches/bench.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> benches/bench.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ty: Rc::new(Type::Array(Rc::new(get_msg_elem_type()))), [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> benches/bench.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_trans_json_to_proto(s: &[u8], ty: &Type) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> benches/bench.rs:121:43 [INFO] [stdout] | [INFO] [stdout] 121 | fn run_trans_proto_to_json(s: &[u8], ty: &Type) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use transproto::metadata::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transproto` (bench "bench") due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "3b6743e005391884e975afd88d3c8f4f098ca2b149fd357f32e5a3af57728ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6743e005391884e975afd88d3c8f4f098ca2b149fd357f32e5a3af57728ee1", kill_on_drop: false }` [INFO] [stdout] 3b6743e005391884e975afd88d3c8f4f098ca2b149fd357f32e5a3af57728ee1