[INFO] cloning repository https://github.com/jejbuitenhuis/mocker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jejbuitenhuis/mocker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjejbuitenhuis%2Fmocker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjejbuitenhuis%2Fmocker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fe3d8b1ce8ab06d42b0d9f9824c7096bc25e222 [INFO] testing jejbuitenhuis/mocker against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjejbuitenhuis%2Fmocker" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jejbuitenhuis/mocker on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jejbuitenhuis/mocker [INFO] finished tweaking git repo https://github.com/jejbuitenhuis/mocker [INFO] tweaked toml for git repo https://github.com/jejbuitenhuis/mocker written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jejbuitenhuis/mocker 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea55dbdd6e02eb37fa47483e39572b3674d030e75c584a72251f0f94a438e293 [INFO] running `Command { std: "docker" "start" "-a" "ea55dbdd6e02eb37fa47483e39572b3674d030e75c584a72251f0f94a438e293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea55dbdd6e02eb37fa47483e39572b3674d030e75c584a72251f0f94a438e293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea55dbdd6e02eb37fa47483e39572b3674d030e75c584a72251f0f94a438e293", kill_on_drop: false }` [INFO] [stdout] ea55dbdd6e02eb37fa47483e39572b3674d030e75c584a72251f0f94a438e293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d32278b81a3bbe49c327053b8dde7b8a58f032194a8064f29c555a17ef316d0d [INFO] running `Command { std: "docker" "start" "-a" "d32278b81a3bbe49c327053b8dde7b8a58f032194a8064f29c555a17ef316d0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling pest v2.7.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Compiling mocker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> src/generator.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ColumnData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] 52 | pub r#type: ColumnType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/parser/config.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Column { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | pub constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Column` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `row_count` is never read [INFO] [stdout] --> src/provider.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ProviderCreationData { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 31 | pub row_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.99s [INFO] running `Command { std: "docker" "inspect" "d32278b81a3bbe49c327053b8dde7b8a58f032194a8064f29c555a17ef316d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32278b81a3bbe49c327053b8dde7b8a58f032194a8064f29c555a17ef316d0d", kill_on_drop: false }` [INFO] [stdout] d32278b81a3bbe49c327053b8dde7b8a58f032194a8064f29c555a17ef316d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69f2046b0ea50f14d56839276d5fca298099cb1970734a506b0f783d31906e26 [INFO] running `Command { std: "docker" "start" "-a" "69f2046b0ea50f14d56839276d5fca298099cb1970734a506b0f783d31906e26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mocker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> src/generator.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ColumnData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] 52 | pub r#type: ColumnType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/parser/config.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Column { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | pub constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Column` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `row_count` is never read [INFO] [stdout] --> src/provider.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ProviderCreationData { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 31 | pub row_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.93s [INFO] running `Command { std: "docker" "inspect" "69f2046b0ea50f14d56839276d5fca298099cb1970734a506b0f783d31906e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f2046b0ea50f14d56839276d5fca298099cb1970734a506b0f783d31906e26", kill_on_drop: false }` [INFO] [stdout] 69f2046b0ea50f14d56839276d5fca298099cb1970734a506b0f783d31906e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08d3777c39ac4dff4548723102345f435223d15a42bdec852f426d63b4139e66 [INFO] running `Command { std: "docker" "start" "-a" "08d3777c39ac4dff4548723102345f435223d15a42bdec852f426d63b4139e66", kill_on_drop: false }` [INFO] [stderr] warning: field `type` is never read [INFO] [stderr] --> src/generator.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct ColumnData { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 51 | pub name: String, [INFO] [stderr] 52 | pub r#type: ColumnType, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ColumnData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `constraints` is never read [INFO] [stderr] --> src/parser/config.rs:180:6 [INFO] [stderr] | [INFO] [stderr] 177 | pub struct Column { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 180 | pub constraints: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Column` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `row_count` is never read [INFO] [stderr] --> src/provider.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct ProviderCreationData { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 31 | pub row_count: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mocker` (bin "mocker" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mocker-c77b6020581006fd) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test providers::gender::tests::test_provide_returns_long_gender ... ok [INFO] [stdout] test providers::gender::tests::test_provide_returns_gender ... ok [INFO] [stdout] test providers::gender::tests::test_reset_should_set_long_to_default_when_no_arguments_are_given ... ok [INFO] [stdout] test generators::tsql::tests::test_generate_columns_generates_the_correct_column_layout ... ok [INFO] [stdout] test generators::tsql::tests::test_generate_row_generates_the_correct_output_row ... ok [INFO] [stdout] test providers::first_name::tests::test_provide_should_return_the_first_item_correctly_formatted ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_set_max_to_default_when_no_arguments_are_given ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_set_minimum_to_15_when_maximum_is_also_set ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_set_min_to_default_when_no_arguments_are_given ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_set_minimum_to_10 ... ok [INFO] [stdout] test providers::random::tests::test_provide_should_return_the_first_item ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_return_error_when_no_number_is_given_to_minimum ... ok [INFO] [stdout] test providers::random::tests::test_reset_should_give_an_error_when_too_few_arguments_are_given ... ok [INFO] [stdout] test providers::row::tests::test_provide_should_return_1 ... ok [INFO] [stdout] test providers::number::tests::test_provide_should_return_a_number ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_return_error_when_no_number_is_given_to_maximum ... ok [INFO] [stdout] test providers::row::tests::test_provide_should_return_5 ... ok [INFO] [stdout] test providers::gender::tests::test_reset_should_return_error_when_no_boolean_is_given_to_long ... ok [INFO] [stdout] test providers::random::tests::test_reset_should_not_give_an_error_when_just_enough_arguments_are_given ... ok [INFO] [stdout] test providers::number::tests::test_reset_should_set_maximum_to_10 ... ok [INFO] [stdout] test providers::row::tests::test_reset_resets_counter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08d3777c39ac4dff4548723102345f435223d15a42bdec852f426d63b4139e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d3777c39ac4dff4548723102345f435223d15a42bdec852f426d63b4139e66", kill_on_drop: false }` [INFO] [stdout] 08d3777c39ac4dff4548723102345f435223d15a42bdec852f426d63b4139e66