[INFO] fetching crate protocheck 0.1.6... [INFO] testing protocheck-0.1.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate protocheck 0.1.6 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate protocheck 0.1.6 [INFO] finished tweaking crates.io crate protocheck 0.1.6 [INFO] tweaked toml for crates.io crate protocheck 0.1.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate protocheck 0.1.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate protocheck 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a48aff725727fe19ed1fac00a07ba1bf855b67fc4877156dbe6fe039d4398fa6 [INFO] running `Command { std: "docker" "start" "-a" "a48aff725727fe19ed1fac00a07ba1bf855b67fc4877156dbe6fe039d4398fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a48aff725727fe19ed1fac00a07ba1bf855b67fc4877156dbe6fe039d4398fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48aff725727fe19ed1fac00a07ba1bf855b67fc4877156dbe6fe039d4398fa6", kill_on_drop: false }` [INFO] [stdout] a48aff725727fe19ed1fac00a07ba1bf855b67fc4877156dbe6fe039d4398fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fee2d80682e5cb37db20cb0cd178c45f1506346d5838333d07de69d7938f691e [INFO] running `Command { std: "docker" "start" "-a" "fee2d80682e5cb37db20cb0cd178c45f1506346d5838333d07de69d7938f691e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling better_any v0.2.0 [INFO] [stderr] Compiling murmur3 v0.4.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling ipnetwork v0.21.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling protocheck v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling antlr4rust v0.3.0-beta3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cel v0.11.0 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling prost-reflect v0.16.1 [INFO] [stderr] Compiling proto-types v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling protocheck-core v0.1.4 [INFO] [stderr] Compiling protocheck-proc-macro v0.1.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.96s [INFO] running `Command { std: "docker" "inspect" "fee2d80682e5cb37db20cb0cd178c45f1506346d5838333d07de69d7938f691e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee2d80682e5cb37db20cb0cd178c45f1506346d5838333d07de69d7938f691e", kill_on_drop: false }` [INFO] [stdout] fee2d80682e5cb37db20cb0cd178c45f1506346d5838333d07de69d7938f691e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83b984b0e013fd7db0fd0b1b45af63660735d4b6a8f26f9fa886799b692d4554 [INFO] running `Command { std: "docker" "start" "-a" "83b984b0e013fd7db0fd0b1b45af63660735d4b6a8f26f9fa886799b692d4554", kill_on_drop: false }` [INFO] [stderr] Compiling protocheck v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "83b984b0e013fd7db0fd0b1b45af63660735d4b6a8f26f9fa886799b692d4554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b984b0e013fd7db0fd0b1b45af63660735d4b6a8f26f9fa886799b692d4554", kill_on_drop: false }` [INFO] [stdout] 83b984b0e013fd7db0fd0b1b45af63660735d4b6a8f26f9fa886799b692d4554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b045dd4d47b08c4b05234898a4bb896f90d1e85d53425744e932f26f05cc48c5 [INFO] running `Command { std: "docker" "start" "-a" "b045dd4d47b08c4b05234898a4bb896f90d1e85d53425744e932f26f05cc48c5", kill_on_drop: false }` [INFO] [stderr] Compiling protocheck v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protocheck-88d03aab7fc9cc9b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests protocheck [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - (line 244) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 225) ... FAILED [INFO] [stdout] test src/lib.rs - (line 140) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 203) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `path` [INFO] [stdout] --> src/lib.rs:204:7 [INFO] [stdout] | [INFO] [stdout] 1 | Field path: obi_wan, Error message: obi-wan must have the high ground. [INFO] [stdout] | ^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 168) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `path` [INFO] [stdout] --> src/lib.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 1 | Field path: anakin.has_high_ground, Error message: must be equal to false [INFO] [stdout] | ^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 244) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `path` [INFO] [stdout] --> src/lib.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 1 | Field path: passwords_match, Error message: the two passwords do not match [INFO] [stdout] | ^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `prost_build` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 5 | use prost_build::Config; [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[E0432]: unresolved import `protocheck_build` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protocheck_build::compile_protos_with_validators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `protocheck_build` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use protocheck_build::compile_protos_with_validators; [INFO] [stdout] 6 + use protocheck_core::compile_protos_with_validators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 225) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> src/lib.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 3 | let user = User { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Violations` in this scope [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 8 | let Violations { violations } = user.validate().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use proto_types::protovalidate::Violations; [INFO] [stdout] | [INFO] [stdout] 2 + use protocheck::types::protovalidate::Violations; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 168) [INFO] [stdout] src/lib.rs - (line 203) [INFO] [stdout] src/lib.rs - (line 225) [INFO] [stdout] src/lib.rs - (line 244) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.47s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b045dd4d47b08c4b05234898a4bb896f90d1e85d53425744e932f26f05cc48c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b045dd4d47b08c4b05234898a4bb896f90d1e85d53425744e932f26f05cc48c5", kill_on_drop: false }` [INFO] [stdout] b045dd4d47b08c4b05234898a4bb896f90d1e85d53425744e932f26f05cc48c5