[INFO] fetching crate validator_struct 0.3.1... [INFO] testing validator_struct-0.3.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate validator_struct 0.3.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate validator_struct 0.3.1 [INFO] finished tweaking crates.io crate validator_struct 0.3.1 [INFO] tweaked toml for crates.io crate validator_struct 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate validator_struct 0.3.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding validator v0.18.1 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cbda59233d6853406a8ec2a6ab9d1998b645782eae564cec8415db678d2761c [INFO] running `Command { std: "docker" "start" "-a" "6cbda59233d6853406a8ec2a6ab9d1998b645782eae564cec8415db678d2761c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cbda59233d6853406a8ec2a6ab9d1998b645782eae564cec8415db678d2761c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbda59233d6853406a8ec2a6ab9d1998b645782eae564cec8415db678d2761c", kill_on_drop: false }` [INFO] [stdout] 6cbda59233d6853406a8ec2a6ab9d1998b645782eae564cec8415db678d2761c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dbcc3c7fe180a4bf317161e321ae0afe264c4f58d470484b51b4e948b85889a [INFO] running `Command { std: "docker" "start" "-a" "9dbcc3c7fe180a4bf317161e321ae0afe264c4f58d470484b51b4e948b85889a", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling validator_struct v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `kw` is never read [INFO] [stdout] --> src/utils/metadata.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Derive { kw: kw::derive, paths: Vec }, [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.74s [INFO] running `Command { std: "docker" "inspect" "9dbcc3c7fe180a4bf317161e321ae0afe264c4f58d470484b51b4e948b85889a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbcc3c7fe180a4bf317161e321ae0afe264c4f58d470484b51b4e948b85889a", kill_on_drop: false }` [INFO] [stdout] 9dbcc3c7fe180a4bf317161e321ae0afe264c4f58d470484b51b4e948b85889a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cedadfa48cd0ed3d74f550d1c7830892a2fb3bd3a15953bd5227e42ae585d179 [INFO] running `Command { std: "docker" "start" "-a" "cedadfa48cd0ed3d74f550d1c7830892a2fb3bd3a15953bd5227e42ae585d179", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling validator_struct v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `kw` is never read [INFO] [stdout] --> src/utils/metadata.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Derive { kw: kw::derive, paths: Vec }, [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kw` is never read [INFO] [stdout] --> src/utils/metadata.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Derive { kw: kw::derive, paths: Vec }, [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bar` is never read [INFO] [stdout] --> tests/derive.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct Foo { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | bar: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [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 24.86s [INFO] running `Command { std: "docker" "inspect" "cedadfa48cd0ed3d74f550d1c7830892a2fb3bd3a15953bd5227e42ae585d179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedadfa48cd0ed3d74f550d1c7830892a2fb3bd3a15953bd5227e42ae585d179", kill_on_drop: false }` [INFO] [stdout] cedadfa48cd0ed3d74f550d1c7830892a2fb3bd3a15953bd5227e42ae585d179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5cba4ae631c7cc973dd76e625335ad01d9d37d35ae7d04162e73085919c46d2f [INFO] running `Command { std: "docker" "start" "-a" "5cba4ae631c7cc973dd76e625335ad01d9d37d35ae7d04162e73085919c46d2f", kill_on_drop: false }` [INFO] [stderr] warning: field `kw` is never read [INFO] [stderr] --> src/utils/metadata.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | Derive { kw: kw::derive, paths: Vec }, [INFO] [stderr] | ------ ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `validator_struct` (lib) generated 1 warning [INFO] [stderr] warning: `validator_struct` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: field `bar` is never read [INFO] [stderr] --> tests/derive.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 8 | struct Foo { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | bar: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `validator_struct` (test "derive") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/validator_struct-4e396d94a74b6b29) [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] Running tests/derive.rs (/opt/rustwide/target/debug/deps/derive-4de08080defdb8dd) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_custom_validator ... ok [INFO] [stdout] test tests::test_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests validator_struct [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] running `Command { std: "docker" "inspect" "5cba4ae631c7cc973dd76e625335ad01d9d37d35ae7d04162e73085919c46d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cba4ae631c7cc973dd76e625335ad01d9d37d35ae7d04162e73085919c46d2f", kill_on_drop: false }` [INFO] [stdout] 5cba4ae631c7cc973dd76e625335ad01d9d37d35ae7d04162e73085919c46d2f