[INFO] cloning repository https://github.com/Riomhchlaraitheoir/rust-validator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Riomhchlaraitheoir/rust-validator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiomhchlaraitheoir%2Frust-validator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiomhchlaraitheoir%2Frust-validator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a43fc1ff51bc34d5d6bb6d597363ea208245b23 [INFO] checking Riomhchlaraitheoir/rust-validator/2a43fc1ff51bc34d5d6bb6d597363ea208245b23 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiomhchlaraitheoir%2Frust-validator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Riomhchlaraitheoir/rust-validator 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 git repo https://github.com/Riomhchlaraitheoir/rust-validator [INFO] finished tweaking git repo https://github.com/Riomhchlaraitheoir/rust-validator [INFO] tweaked toml for git repo https://github.com/Riomhchlaraitheoir/rust-validator written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Riomhchlaraitheoir/rust-validator 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef6eb68cf9cefd5ccaff90cccddbe47ccd868bc2e1c7b51eeac29c454d3fa2fd [INFO] running `Command { std: "docker" "start" "-a" "ef6eb68cf9cefd5ccaff90cccddbe47ccd868bc2e1c7b51eeac29c454d3fa2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef6eb68cf9cefd5ccaff90cccddbe47ccd868bc2e1c7b51eeac29c454d3fa2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef6eb68cf9cefd5ccaff90cccddbe47ccd868bc2e1c7b51eeac29c454d3fa2fd", kill_on_drop: false }` [INFO] [stdout] ef6eb68cf9cefd5ccaff90cccddbe47ccd868bc2e1c7b51eeac29c454d3fa2fd [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 564e0464680d69f629f097a5832c65a882b179400ad3d892c254f6569a5b00c7 [INFO] running `Command { std: "docker" "start" "-a" "564e0464680d69f629f097a5832c65a882b179400ad3d892c254f6569a5b00c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking syn v2.0.66 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking darling_core v0.20.9 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking validator v0.1.0 (/opt/rustwide/workdir/crates/validator) [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stdout] error: cannot find derive macro `Validator` in this scope [INFO] [stdout] --> crates/validator/tests/elements.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Validator)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validator` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> crates/validator/tests/elements.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::{Validate, Validator}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validator` in this scope [INFO] [stdout] --> crates/validator/tests/elements.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[validator(elements)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validator` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validator` in this scope [INFO] [stdout] --> crates/validator/tests/elements.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Validator)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validator` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> crates/validator/tests/elements.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::{Validate, Validator}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validator` in this scope [INFO] [stdout] --> crates/validator/tests/elements.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[validator(not_empty)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validator` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `HasList`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/validator/tests/elements.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 4 | struct HasList { [INFO] [stdout] | -------------- method `validate` not found for this struct because it doesn't satisfy `::Element = _`, `HasList: HasElements` or `HasList: Validate` [INFO] [stdout] ... [INFO] [stdout] 17 | / HasList { [INFO] [stdout] 18 | | list: vec![ [INFO] [stdout] 19 | | Element { [INFO] [stdout] 20 | | value: "foobar".to_string(), [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | ], [INFO] [stdout] 23 | | }.validate().expect("should be valid"); [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `HasList` due to unsatisfied trait bounds [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Element = _` [INFO] [stdout] which is required by `HasList: Validate` [INFO] [stdout] `HasList: HasElements` [INFO] [stdout] which is required by `HasList: Validate` [INFO] [stdout] note: the trait `HasElements` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/crates/validator/src/elements.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait HasElements { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `validate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Validate` [INFO] [stdout] candidate #2: `Validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `HasList`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/validator/tests/elements.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 4 | struct HasList { [INFO] [stdout] | -------------- method `validate` not found for this struct because it doesn't satisfy `::Element = _`, `HasList: HasElements` or `HasList: Validate` [INFO] [stdout] ... [INFO] [stdout] 24 | / HasList { [INFO] [stdout] 25 | | list: vec![ [INFO] [stdout] 26 | | Element { [INFO] [stdout] 27 | | value: "".to_string(), [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | ], [INFO] [stdout] 30 | | }.validate().expect_err("should be invalid"); [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `HasList` due to unsatisfied trait bounds [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Element = _` [INFO] [stdout] which is required by `HasList: Validate` [INFO] [stdout] `HasList: HasElements` [INFO] [stdout] which is required by `HasList: Validate` [INFO] [stdout] note: the trait `HasElements` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/crates/validator/src/elements.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait HasElements { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `validate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Validate` [INFO] [stdout] candidate #2: `Validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Validate` [INFO] [stdout] --> crates/validator/tests/elements.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::{Validate, Validator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `validator` (test "elements") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "564e0464680d69f629f097a5832c65a882b179400ad3d892c254f6569a5b00c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "564e0464680d69f629f097a5832c65a882b179400ad3d892c254f6569a5b00c7", kill_on_drop: false }` [INFO] [stdout] 564e0464680d69f629f097a5832c65a882b179400ad3d892c254f6569a5b00c7