[INFO] fetching crate pleme-error 0.1.0... [INFO] testing pleme-error-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate pleme-error 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pleme-error 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pleme-error 0.1.0 [INFO] tweaked toml for crates.io crate pleme-error 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pleme-error 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pleme-error 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cb8c913f39a31684cb3b9839a5c791cf04fa305cb1991ea615da3ee5c2c05c2 [INFO] running `Command { std: "docker" "start" "-a" "5cb8c913f39a31684cb3b9839a5c791cf04fa305cb1991ea615da3ee5c2c05c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cb8c913f39a31684cb3b9839a5c791cf04fa305cb1991ea615da3ee5c2c05c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb8c913f39a31684cb3b9839a5c791cf04fa305cb1991ea615da3ee5c2c05c2", kill_on_drop: false }` [INFO] [stdout] 5cb8c913f39a31684cb3b9839a5c791cf04fa305cb1991ea615da3ee5c2c05c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3723bc446694ec2f59cbc88382b66b6da00c5d25da5be852df8a6e2f61b7c866 [INFO] running `Command { std: "docker" "start" "-a" "3723bc446694ec2f59cbc88382b66b6da00c5d25da5be852df8a6e2f61b7c866", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling pleme-error v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.48s [INFO] running `Command { std: "docker" "inspect" "3723bc446694ec2f59cbc88382b66b6da00c5d25da5be852df8a6e2f61b7c866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3723bc446694ec2f59cbc88382b66b6da00c5d25da5be852df8a6e2f61b7c866", kill_on_drop: false }` [INFO] [stdout] 3723bc446694ec2f59cbc88382b66b6da00c5d25da5be852df8a6e2f61b7c866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd339259c2252e022ae778cc6c52dc5a2468a71fde19d859e0bfe9e92c041276 [INFO] running `Command { std: "docker" "start" "-a" "bd339259c2252e022ae778cc6c52dc5a2468a71fde19d859e0bfe9e92c041276", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling pleme-error v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stdout] warning: fields `id` and `email` are never read [INFO] [stdout] --> examples/basic_usage.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.12s [INFO] running `Command { std: "docker" "inspect" "bd339259c2252e022ae778cc6c52dc5a2468a71fde19d859e0bfe9e92c041276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd339259c2252e022ae778cc6c52dc5a2468a71fde19d859e0bfe9e92c041276", kill_on_drop: false }` [INFO] [stdout] bd339259c2252e022ae778cc6c52dc5a2468a71fde19d859e0bfe9e92c041276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 43c2c51a26f5efa22476e718cc6d0431a506c9d7268664336c1b3bd02c527817 [INFO] running `Command { std: "docker" "start" "-a" "43c2c51a26f5efa22476e718cc6d0431a506c9d7268664336c1b3bd02c527817", kill_on_drop: false }` [INFO] [stderr] warning: fields `id` and `email` are never read [INFO] [stderr] --> examples/basic_usage.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | struct User { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 9 | id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] 10 | email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pleme-error` (example "basic_usage") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pleme_error-dc9cdbefe1c3b657) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_error_creation ... ok [INFO] [stdout] test tests::test_error_retryable ... ok [INFO] [stdout] test tests::test_new_error_variants ... ok [INFO] [stdout] test tests::test_error_severity ... ok [INFO] [stdout] test tests::test_url_error_conversion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests pleme_error [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/field_validator.rs - field_validator (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_user(id: &str) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | fn get_user(id: &str) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let user = db.find(id) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/field_validator.rs - field_validator (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `email` in this scope [INFO] [stdout] --> src/field_validator.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | validator.add_if(email.is_empty(), "email", "Email é obrigatório"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/field_validator.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | validator.add_if(password.len() < 8, "password", "Senha muito curta"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/field_validator.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_field_validator_rs_7_0() { [INFO] [stdout] | - help: a return type might be missing here: `-> _` [INFO] [stdout] ... [INFO] [stdout] 16 | return Err(validator.into_service_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, ServiceError>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, ServiceError>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/field_validator.rs - field_validator (line 7) [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "43c2c51a26f5efa22476e718cc6d0431a506c9d7268664336c1b3bd02c527817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c2c51a26f5efa22476e718cc6d0431a506c9d7268664336c1b3bd02c527817", kill_on_drop: false }` [INFO] [stdout] 43c2c51a26f5efa22476e718cc6d0431a506c9d7268664336c1b3bd02c527817