[INFO] fetching crate zisvalidator_derive 0.1.6... [INFO] testing zisvalidator_derive-0.1.6 against 1.60.0 for beta-1.61-1 [INFO] extracting crate zisvalidator_derive 0.1.6 into /workspace/builds/worker-80/source [INFO] validating manifest of crates.io crate zisvalidator_derive 0.1.6 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zisvalidator_derive 0.1.6 [INFO] finished tweaking crates.io crate zisvalidator_derive 0.1.6 [INFO] tweaked toml for crates.io crate zisvalidator_derive 0.1.6 written to /workspace/builds/worker-80/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--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-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bd7cf5b927d5b41340f4391cfb5e6713cd79b36421312c1b9070005d61bd864 [INFO] running `Command { std: "docker" "start" "-a" "5bd7cf5b927d5b41340f4391cfb5e6713cd79b36421312c1b9070005d61bd864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd7cf5b927d5b41340f4391cfb5e6713cd79b36421312c1b9070005d61bd864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd7cf5b927d5b41340f4391cfb5e6713cd79b36421312c1b9070005d61bd864", kill_on_drop: false }` [INFO] [stdout] 5bd7cf5b927d5b41340f4391cfb5e6713cd79b36421312c1b9070005d61bd864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c1526569098e22c2b0432da64fba9747f51a079e5a049c4fc28e718f6691f70 [INFO] running `Command { std: "docker" "start" "-a" "6c1526569098e22c2b0432da64fba9747f51a079e5a049c4fc28e718f6691f70", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling zisvalidator_derive v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `MESSAGE` [INFO] [stdout] --> src/symbol.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MESSAGE: Symbol = Symbol("message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.35s [INFO] running `Command { std: "docker" "inspect" "6c1526569098e22c2b0432da64fba9747f51a079e5a049c4fc28e718f6691f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1526569098e22c2b0432da64fba9747f51a079e5a049c4fc28e718f6691f70", kill_on_drop: false }` [INFO] [stdout] 6c1526569098e22c2b0432da64fba9747f51a079e5a049c4fc28e718f6691f70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c44b672e068bfbed2fe20af9b04d49d58d49d61bbb1e5e1e25dd657e26528374 [INFO] running `Command { std: "docker" "start" "-a" "c44b672e068bfbed2fe20af9b04d49d58d49d61bbb1e5e1e25dd657e26528374", kill_on_drop: false }` [INFO] [stderr] Compiling zisvalidator_derive v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `MESSAGE` [INFO] [stdout] --> src/symbol.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MESSAGE: Symbol = Symbol("message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MESSAGE` [INFO] [stdout] --> src/symbol.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MESSAGE: Symbol = Symbol("message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "c44b672e068bfbed2fe20af9b04d49d58d49d61bbb1e5e1e25dd657e26528374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44b672e068bfbed2fe20af9b04d49d58d49d61bbb1e5e1e25dd657e26528374", kill_on_drop: false }` [INFO] [stdout] c44b672e068bfbed2fe20af9b04d49d58d49d61bbb1e5e1e25dd657e26528374 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbe10ad6c86cf8b512d2963f9844c88954b1852cc45df038f8ff1a3a0177da4d [INFO] running `Command { std: "docker" "start" "-a" "fbe10ad6c86cf8b512d2963f9844c88954b1852cc45df038f8ff1a3a0177da4d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: constant is never used: `MESSAGE` [INFO] [stdout] [INFO] [stderr] --> src/symbol.rs:19:1 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] 19 | pub const MESSAGE: Symbol = Symbol("message"); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `zisvalidator_derive` (lib) generated 1 warning [INFO] [stderr] warning: `zisvalidator_derive` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zisvalidator_derive-f7548a008f1564d9) [INFO] [stderr] Doc-tests zisvalidator_derive [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] test src/validate.rs - validate::validate_variant (line 162) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct S(String,u64,); //validate tuple struct with mulitple elements [INFO] [stdout] | ---------------------- previous definition of the type `S` here [INFO] [stdout] ... [INFO] [stdout] 10 | struct S{ //validate struct with fields [INFO] [stdout] | ^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `S` is defined multiple times [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct S(String); //validate tuple struct with 1 element [INFO] [stdout] | ----------------- previous definition of the value `S` here [INFO] [stdout] ... [INFO] [stdout] 7 | struct S(String,u64,); //validate tuple struct with mulitple elements [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `S` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `S` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] zisvalidator_derive::Validate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> src/lib.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] zisvalidator_derive::Validate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] zisvalidator_derive::Validate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] zisvalidator_derive::Validate [INFO] [stdout] [INFO] [stdout] warning: variant `tuple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 17 | tuple(String,String,), //validate tuple varient with multiple element [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Tuple` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected one of `(` or `<`, found `{` [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn main{} [INFO] [stdout] | ^ expected one of `(` or `<` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zisvalidator` in the list of imported crates [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ could not find `zisvalidator` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] zisvalidator_derive::Validate [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/lib.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[validate(attr = "foo")] //<-- Variant Attribute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] zisvalidator_derive::Validate [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[validate(attr = "foo")] //<-- Container Attribute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/lib.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[validate(attr = "foo")] //<-- Field Attribute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbe10ad6c86cf8b512d2963f9844c88954b1852cc45df038f8ff1a3a0177da4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe10ad6c86cf8b512d2963f9844c88954b1852cc45df038f8ff1a3a0177da4d", kill_on_drop: false }` [INFO] [stdout] fbe10ad6c86cf8b512d2963f9844c88954b1852cc45df038f8ff1a3a0177da4d