[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d65f6613c098afd85e25ca0b1d85c6ab18491049cf422efabcd23390c175d45b [INFO] running `Command { std: "docker" "start" "-a" "d65f6613c098afd85e25ca0b1d85c6ab18491049cf422efabcd23390c175d45b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d65f6613c098afd85e25ca0b1d85c6ab18491049cf422efabcd23390c175d45b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d65f6613c098afd85e25ca0b1d85c6ab18491049cf422efabcd23390c175d45b", kill_on_drop: false }` [INFO] [stdout] d65f6613c098afd85e25ca0b1d85c6ab18491049cf422efabcd23390c175d45b [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83fcf6d5330eb412b38dc44e4a9efecd6b72f969bfe8c326d9e79e495d8a6c63 [INFO] running `Command { std: "docker" "start" "-a" "83fcf6d5330eb412b38dc44e4a9efecd6b72f969bfe8c326d9e79e495d8a6c63", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling smallvec v0.6.9 [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.71s [INFO] running `Command { std: "docker" "inspect" "83fcf6d5330eb412b38dc44e4a9efecd6b72f969bfe8c326d9e79e495d8a6c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83fcf6d5330eb412b38dc44e4a9efecd6b72f969bfe8c326d9e79e495d8a6c63", kill_on_drop: false }` [INFO] [stdout] 83fcf6d5330eb412b38dc44e4a9efecd6b72f969bfe8c326d9e79e495d8a6c63 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4783347f318c2a5232de4303964845501b322147a344fc7ccf14730804d1999 [INFO] running `Command { std: "docker" "start" "-a" "a4783347f318c2a5232de4303964845501b322147a344fc7ccf14730804d1999", kill_on_drop: false }` [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.88s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_validation_playground-c44492fd9267abf7) [INFO] running `Command { std: "docker" "inspect" "a4783347f318c2a5232de4303964845501b322147a344fc7ccf14730804d1999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4783347f318c2a5232de4303964845501b322147a344fc7ccf14730804d1999", kill_on_drop: false }` [INFO] [stdout] a4783347f318c2a5232de4303964845501b322147a344fc7ccf14730804d1999 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37ca4c914994a281ff02ba679eb7b3fb69a519b4a94a60e6f2f50910b5b4decf [INFO] running `Command { std: "docker" "start" "-a" "37ca4c914994a281ff02ba679eb7b3fb69a519b4a94a60e6f2f50910b5b4decf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.63s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_validation_playground-c44492fd9267abf7) [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" "37ca4c914994a281ff02ba679eb7b3fb69a519b4a94a60e6f2f50910b5b4decf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ca4c914994a281ff02ba679eb7b3fb69a519b4a94a60e6f2f50910b5b4decf", kill_on_drop: false }` [INFO] [stdout] 37ca4c914994a281ff02ba679eb7b3fb69a519b4a94a60e6f2f50910b5b4decf