[INFO] fetching crate validator_derive 0.10.1... [INFO] checking validator_derive-0.10.1 against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] extracting crate validator_derive 0.10.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate validator_derive 0.10.1 on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate validator_derive 0.10.1 [INFO] finished tweaking crates.io crate validator_derive 0.10.1 [INFO] tweaked toml for crates.io crate validator_derive 0.10.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05ad59ee284e6995d185cfabcee3fad67e143590b01ebc44f086c3b82b1b3042 [INFO] running `Command { std: "docker" "start" "-a" "05ad59ee284e6995d185cfabcee3fad67e143590b01ebc44f086c3b82b1b3042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ad59ee284e6995d185cfabcee3fad67e143590b01ebc44f086c3b82b1b3042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ad59ee284e6995d185cfabcee3fad67e143590b01ebc44f086c3b82b1b3042", kill_on_drop: false }` [INFO] [stdout] 05ad59ee284e6995d185cfabcee3fad67e143590b01ebc44f086c3b82b1b3042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f579d0454dfb566abcfb8544f03cc606cd034263d2be2cd471c72b00beee815a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f579d0454dfb566abcfb8544f03cc606cd034263d2be2cd471c72b00beee815a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling compiletest_rs v0.5.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking if_chain v1.0.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking tester v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Checking validator v0.10.1 [INFO] [stderr] Checking validator_derive v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/credit_card.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> tests/credit_card.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/non_control.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> tests/non_control.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/phone.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator::Validate` [INFO] [stdout] --> tests/phone.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/complex.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Validate, Deserialize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Unexpected validator: Some(Ident { ident: "phone", span: #0 bytes(1336..1341) }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/complex.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, Validate, Deserialize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Unexpected validator: Some(Ident { ident: "credit_card", span: #0 bytes(1436..1447) }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `Phone` in the current scope [INFO] [stdout] --> tests/complex.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Validate, Deserialize)] [INFO] [stdout] | ^^^^^^^^ method not found in `Phone` [INFO] [stdout] ... [INFO] [stdout] 52 | struct Phone { [INFO] [stdout] | ------------ method `validate` not found for this [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 trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `validator::Validate` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for reference `&Card` in the current scope [INFO] [stdout] --> tests/complex.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Validate, Deserialize)] [INFO] [stdout] | ^^^^^^^^ method not found in `&Card` [INFO] [stdout] ... [INFO] [stdout] 58 | struct Card { [INFO] [stdout] | ----------- doesn't satisfy `Card: validator::Validate` [INFO] [stdout] | [INFO] [stdout] = note: the method `validate` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Card: validator::Validate` [INFO] [stdout] which is required by `&Card: validator::Validate` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `validator::Validate` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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_derive`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f579d0454dfb566abcfb8544f03cc606cd034263d2be2cd471c72b00beee815a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f579d0454dfb566abcfb8544f03cc606cd034263d2be2cd471c72b00beee815a", kill_on_drop: false }` [INFO] [stdout] f579d0454dfb566abcfb8544f03cc606cd034263d2be2cd471c72b00beee815a