[INFO] fetching crate prost-msg-build 0.2.0... [INFO] testing prost-msg-build-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate prost-msg-build 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate prost-msg-build 0.2.0 [INFO] finished tweaking crates.io crate prost-msg-build 0.2.0 [INFO] tweaked toml for crates.io crate prost-msg-build 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prost-msg-build 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding multimap v0.8.3 (available: v0.10.1) [INFO] [stderr] Adding petgraph v0.6.5 (available: v0.8.2) [INFO] [stderr] Adding prettyplease v0.1.25 (available: v0.2.37) [INFO] [stderr] Adding prost v0.11.9 (available: v0.14.1) [INFO] [stderr] Adding prost-types v0.11.9 (available: v0.14.1) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (available: v0.13.0) [INFO] [stderr] Adding pulldown-cmark-to-cmark v10.0.4 (available: v21.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding which v4.4.2 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v10.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c6d09728d1d9dfca183b10c000ff0e8be323438984f575745ea2bbe95cc3458 [INFO] running `Command { std: "docker" "start" "-a" "8c6d09728d1d9dfca183b10c000ff0e8be323438984f575745ea2bbe95cc3458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c6d09728d1d9dfca183b10c000ff0e8be323438984f575745ea2bbe95cc3458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6d09728d1d9dfca183b10c000ff0e8be323438984f575745ea2bbe95cc3458", kill_on_drop: false }` [INFO] [stdout] 8c6d09728d1d9dfca183b10c000ff0e8be323438984f575745ea2bbe95cc3458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3a5f696cb63158a013aa37aa95d09e936f8c45588d2863591e06d5db05523fe [INFO] running `Command { std: "docker" "start" "-a" "c3a5f696cb63158a013aa37aa95d09e936f8c45588d2863591e06d5db05523fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling prost-msg-build v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.41s [INFO] running `Command { std: "docker" "inspect" "c3a5f696cb63158a013aa37aa95d09e936f8c45588d2863591e06d5db05523fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a5f696cb63158a013aa37aa95d09e936f8c45588d2863591e06d5db05523fe", kill_on_drop: false }` [INFO] [stdout] c3a5f696cb63158a013aa37aa95d09e936f8c45588d2863591e06d5db05523fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cb82f212d04fc1143cb1050ca588cd85c1ab8b6095ce346d4020e50d793bc04 [INFO] running `Command { std: "docker" "start" "-a" "9cb82f212d04fc1143cb1050ca588cd85c1ab8b6095ce346d4020e50d793bc04", kill_on_drop: false }` [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling prost-msg-build v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.97s [INFO] running `Command { std: "docker" "inspect" "9cb82f212d04fc1143cb1050ca588cd85c1ab8b6095ce346d4020e50d793bc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb82f212d04fc1143cb1050ca588cd85c1ab8b6095ce346d4020e50d793bc04", kill_on_drop: false }` [INFO] [stdout] 9cb82f212d04fc1143cb1050ca588cd85c1ab8b6095ce346d4020e50d793bc04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e353630611b30a5b0ea267e7b961de3683f9aac5fbdebef3d7c850807b8851d [INFO] running `Command { std: "docker" "start" "-a" "1e353630611b30a5b0ea267e7b961de3683f9aac5fbdebef3d7c850807b8851d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prost_msg_build-e47bf99bbf69b520) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test ast::tests::test_codeblocks ... ok [INFO] [stdout] test code_generator::tests::test_strip_enum_prefix ... ok [INFO] [stdout] test code_generator::tests::test_unescape_c_escape_string ... ok [INFO] [stdout] test extern_paths::tests::test_extern_paths ... ok [INFO] [stdout] test ident::tests::test_to_snake_raw_keyword ... ok [INFO] [stdout] test ident::tests::test_to_upper_camel ... ok [INFO] [stdout] test path::tests::test_get_best ... ok [INFO] [stdout] test path::tests::test_get_keep_order ... ok [INFO] [stdout] test path::tests::test_get_matches_sub_path ... ok [INFO] [stdout] test path::tests::test_prefixes ... ok [INFO] [stdout] test path::tests::test_suffixes ... ok [INFO] [stdout] test ident::tests::test_to_snake ... ok [INFO] [stdout] test extern_paths::tests::test_well_known_types ... ok [INFO] [stdout] test ident::tests::test_to_snake_non_raw_keyword ... ok [INFO] [stdout] test ast::tests::test_comment_append_with_indent_leaves_prespaced_lines ... ok [INFO] [stdout] test ast::tests::test_comment_append_with_indent_sanitizes_square_brackets ... ok [INFO] [stdout] test code_generator::tests::test_unescape_c_escape_string_incomplete_hex_value - should panic ... ok [INFO] [stdout] test ast::tests::test_comment_append_with_indent_sanitizes_comment_doc_url ... ok [INFO] [stdout] test tests::finalize_package ... ok [INFO] [stdout] test tests::smoke_test ... ok [INFO] [stdout] test tests::test_generate_no_empty_outputs ... ok [INFO] [stdout] test tests::test_generate_message_attributes ... ok [INFO] [stdout] test tests::deterministic_include_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Doc-tests prost_msg_build [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/lib.rs - (line 122) ... ignored [INFO] [stdout] test src/lib.rs - (line 63) ... ignored [INFO] [stdout] test src/lib.rs - Config::extern_path (line 625) ... ignored [INFO] [stdout] test src/lib.rs - Config::extern_path (line 660) ... ignored [INFO] [stdout] test src/lib.rs - Config::disable_comments (line 573) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Config::compile_fds (line 879) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Config::bytes (line 337) ... FAILED [INFO] [stdout] test src/lib.rs - Config::file_descriptor_set_path (line 733) ... ignored [INFO] [stdout] test src/lib.rs - Config::include_file (line 838) ... ignored [INFO] [stdout] test src/lib.rs - Config::include_file (line 851) ... ignored [INFO] [stdout] test src/lib.rs - Config::enum_attribute (line 521) ... FAILED [INFO] [stdout] test src/lib.rs - Config::extern_path (line 688) ... FAILED [INFO] [stdout] test src/lib.rs - Config::compile_protos (line 980) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 53) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Config::file_descriptor_set_path (line 722) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Config::protoc_arg (line 811) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Config::btree_map (line 276) ... FAILED [INFO] [stdout] test src/lib.rs - Config::skip_protoc_run (line 751) ... FAILED [INFO] [stdout] test src/lib.rs - Config::field_attribute (line 398) ... FAILED [INFO] [stdout] test src/lib.rs - Config::message_attribute (line 482) ... FAILED [INFO] [stdout] test src/lib.rs - compile_protos (line 1370) - compile ... FAILED [INFO] [stdout] test src/lib.rs - compile_fds (line 1399) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Config::type_attribute (line 433) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Config::disable_comments (line 573) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:575:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::compile_fds (line 879) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `FileDescriptorSet` in this scope [INFO] [stdout] --> src/lib.rs:880:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn fds() -> FileDescriptorSet { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use prost_types::FileDescriptorSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:884:3 [INFO] [stdout] | [INFO] [stdout] 6 | prost_build::Config::new() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - prost_build::Config::new() [INFO] [stdout] 6 + Config::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:881:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::bytes (line 337) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::enum_attribute (line 521) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:522:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::extern_path (line 688) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:689:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::compile_protos (line 980) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:983:25 [INFO] [stdout] | [INFO] [stdout] 4 | let mut prost_build = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let mut prost_build = prost_build::Config::new(); [INFO] [stdout] 4 + let mut prost_build = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 4 | prost_build::compile_protos(&["src/items.proto"], &["src/"])?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::file_descriptor_set_path (line 722) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:725:18 [INFO] [stdout] | [INFO] [stdout] 5 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let mut config = prost_build::Config::new(); [INFO] [stdout] 5 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::protoc_arg (line 811) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 4 | let mut prost_build = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let mut prost_build = prost_build::Config::new(); [INFO] [stdout] 4 + let mut prost_build = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::btree_map (line 276) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::skip_protoc_run (line 751) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:752:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::field_attribute (line 398) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::message_attribute (line 482) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:483:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - compile_protos (line 1370) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:1373:3 [INFO] [stdout] | [INFO] [stdout] 4 | prost_build::compile_protos(&["src/frontend.proto", "src/backend.proto"], &["src"])?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - compile_fds (line 1399) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `FileDescriptorSet` in this scope [INFO] [stdout] --> src/lib.rs:1400:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn fds() -> FileDescriptorSet { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use prost_types::FileDescriptorSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:1404:3 [INFO] [stdout] | [INFO] [stdout] 6 | prost_build::compile_fds(file_descriptor_set)?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1401:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::type_attribute (line 433) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] --> src/lib.rs:434:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut config = prost_build::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `prost_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost_build`, use `cargo add prost_build` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use prost_msg_build::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mut config = prost_build::Config::new(); [INFO] [stdout] 3 + let mut config = Config::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 53) [INFO] [stdout] src/lib.rs - Config::btree_map (line 276) [INFO] [stdout] src/lib.rs - Config::bytes (line 337) [INFO] [stdout] src/lib.rs - Config::compile_fds (line 879) [INFO] [stdout] src/lib.rs - Config::compile_protos (line 980) [INFO] [stdout] src/lib.rs - Config::disable_comments (line 573) [INFO] [stdout] src/lib.rs - Config::enum_attribute (line 521) [INFO] [stdout] src/lib.rs - Config::extern_path (line 688) [INFO] [stdout] src/lib.rs - Config::field_attribute (line 398) [INFO] [stdout] src/lib.rs - Config::file_descriptor_set_path (line 722) [INFO] [stdout] src/lib.rs - Config::message_attribute (line 482) [INFO] [stdout] src/lib.rs - Config::protoc_arg (line 811) [INFO] [stdout] src/lib.rs - Config::skip_protoc_run (line 751) [INFO] [stdout] src/lib.rs - Config::type_attribute (line 433) [INFO] [stdout] src/lib.rs - compile_fds (line 1399) [INFO] [stdout] src/lib.rs - compile_protos (line 1370) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 7 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1e353630611b30a5b0ea267e7b961de3683f9aac5fbdebef3d7c850807b8851d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e353630611b30a5b0ea267e7b961de3683f9aac5fbdebef3d7c850807b8851d", kill_on_drop: false }` [INFO] [stdout] 1e353630611b30a5b0ea267e7b961de3683f9aac5fbdebef3d7c850807b8851d