[INFO] cloning repository https://github.com/dnagir/rust-api-validation-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dnagir/rust-api-validation-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnagir%2Frust-api-validation-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnagir%2Frust-api-validation-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 160831fa28185da68e1e1b7ee9c4425ce992ad90 [INFO] testing dnagir/rust-api-validation-playground against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnagir%2Frust-api-validation-playground" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dnagir/rust-api-validation-playground 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 git repo https://github.com/dnagir/rust-api-validation-playground [INFO] finished tweaking git repo https://github.com/dnagir/rust-api-validation-playground [INFO] tweaked toml for git repo https://github.com/dnagir/rust-api-validation-playground written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/dnagir/rust-api-validation-playground already has a lockfile, it will not be regenerated [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] Downloading crates ... [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded serde_json v1.0.39 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded if_chain v0.1.3 [INFO] [stderr] Downloaded validator_derive v0.8.0 [INFO] [stderr] Downloaded validator v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 451a15192b646c6079b12849b5ee25ef03e21946a320de634e42ef07d00e56c4 [INFO] running `Command { std: "docker" "start" "-a" "451a15192b646c6079b12849b5ee25ef03e21946a320de634e42ef07d00e56c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "451a15192b646c6079b12849b5ee25ef03e21946a320de634e42ef07d00e56c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451a15192b646c6079b12849b5ee25ef03e21946a320de634e42ef07d00e56c4", kill_on_drop: false }` [INFO] [stdout] 451a15192b646c6079b12849b5ee25ef03e21946a320de634e42ef07d00e56c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 1b2de284bbb8ba099b82164bebb61920d7d9d00b2f29bd42a55d06e8fc0e4b37 [INFO] running `Command { std: "docker" "start" "-a" "1b2de284bbb8ba099b82164bebb61920d7d9d00b2f29bd42a55d06e8fc0e4b37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling validator v0.8.0 [INFO] [stderr] Compiling validator_derive v0.8.0 [INFO] [stderr] Compiling rust-api-validation-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/from_scratch.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | direction: ConsignmentType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ConsignmentData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/from_scratch.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/with_crate.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | direction: ConsignmentType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConsignmentData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/with_crate.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Validate, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.27s [INFO] running `Command { std: "docker" "inspect" "1b2de284bbb8ba099b82164bebb61920d7d9d00b2f29bd42a55d06e8fc0e4b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2de284bbb8ba099b82164bebb61920d7d9d00b2f29bd42a55d06e8fc0e4b37", kill_on_drop: false }` [INFO] [stdout] 1b2de284bbb8ba099b82164bebb61920d7d9d00b2f29bd42a55d06e8fc0e4b37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 152883f6dba50fcf362e648d38dadc383af70f8ce03e358cae96286358451094 [INFO] running `Command { std: "docker" "start" "-a" "152883f6dba50fcf362e648d38dadc383af70f8ce03e358cae96286358451094", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-api-validation-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/from_scratch.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | direction: ConsignmentType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ConsignmentData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/from_scratch.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/with_crate.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | direction: ConsignmentType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConsignmentData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/with_crate.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Validate, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "152883f6dba50fcf362e648d38dadc383af70f8ce03e358cae96286358451094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152883f6dba50fcf362e648d38dadc383af70f8ce03e358cae96286358451094", kill_on_drop: false }` [INFO] [stdout] 152883f6dba50fcf362e648d38dadc383af70f8ce03e358cae96286358451094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] f352bc2b49de84d27ffefb3594b767799a59c89960d5f7d349ca1f286011fb9b [INFO] running `Command { std: "docker" "start" "-a" "f352bc2b49de84d27ffefb3594b767799a59c89960d5f7d349ca1f286011fb9b", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `direction` [INFO] [stderr] --> src/from_scratch.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | direction: ConsignmentType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ConsignmentData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/from_scratch.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `direction` [INFO] [stderr] --> src/with_crate.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | direction: ConsignmentType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConsignmentData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/with_crate.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Validate, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust-api-validation-playground` (bin "rust-api-validation-playground" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_api_validation_playground-7fc3839465572141) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test from_scratch::test_validation::test_contact_methods ... ok [INFO] [stdout] test from_scratch::test_validation::test_flat_fields ... ok [INFO] [stdout] test from_scratch::test_validation::test_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f352bc2b49de84d27ffefb3594b767799a59c89960d5f7d349ca1f286011fb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f352bc2b49de84d27ffefb3594b767799a59c89960d5f7d349ca1f286011fb9b", kill_on_drop: false }` [INFO] [stdout] f352bc2b49de84d27ffefb3594b767799a59c89960d5f7d349ca1f286011fb9b