[INFO] fetching crate minver_rs 0.3.1... [INFO] testing minver_rs-0.3.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate minver_rs 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate minver_rs 0.3.1 [INFO] finished tweaking crates.io crate minver_rs 0.3.1 [INFO] tweaked toml for crates.io crate minver_rs 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate minver_rs 0.3.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate minver_rs 0.3.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef1f52d883247be833376a5028fb12b0f0372cbb19d7c1e544c54fa908c43b2 [INFO] running `Command { std: "docker" "start" "-a" "fef1f52d883247be833376a5028fb12b0f0372cbb19d7c1e544c54fa908c43b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef1f52d883247be833376a5028fb12b0f0372cbb19d7c1e544c54fa908c43b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef1f52d883247be833376a5028fb12b0f0372cbb19d7c1e544c54fa908c43b2", kill_on_drop: false }` [INFO] [stdout] fef1f52d883247be833376a5028fb12b0f0372cbb19d7c1e544c54fa908c43b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0a81425c57f3c406c088c1d903621394e441839dc3ff766a51b76018aee4384 [INFO] running `Command { std: "docker" "start" "-a" "d0a81425c57f3c406c088c1d903621394e441839dc3ff766a51b76018aee4384", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.23+1.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling combine v4.6.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling toml_edit v0.2.1 [INFO] [stderr] Compiling git2 v0.13.22 [INFO] [stderr] Compiling minver_rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d0a81425c57f3c406c088c1d903621394e441839dc3ff766a51b76018aee4384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a81425c57f3c406c088c1d903621394e441839dc3ff766a51b76018aee4384", kill_on_drop: false }` [INFO] [stdout] d0a81425c57f3c406c088c1d903621394e441839dc3ff766a51b76018aee4384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd2d95ba246f219cb7c797739dfffc6974a9b1b6211e619bff7ef4aefc71f07 [INFO] running `Command { std: "docker" "start" "-a" "edd2d95ba246f219cb7c797739dfffc6974a9b1b6211e619bff7ef4aefc71f07", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling minver_rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repo_test_helper/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_head(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn get_head(repo: &Repository) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "edd2d95ba246f219cb7c797739dfffc6974a9b1b6211e619bff7ef4aefc71f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd2d95ba246f219cb7c797739dfffc6974a9b1b6211e619bff7ef4aefc71f07", kill_on_drop: false }` [INFO] [stdout] edd2d95ba246f219cb7c797739dfffc6974a9b1b6211e619bff7ef4aefc71f07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2d846ec5be58247890a5ae1eda16d96d2c08cd84efc67ea46687fe929d17b51 [INFO] running `Command { std: "docker" "start" "-a" "a2d846ec5be58247890a5ae1eda16d96d2c08cd84efc67ea46687fe929d17b51", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> tests/repo_test_helper/mod.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | fn get_head(repo: &Repository) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 64 | fn get_head(repo: &Repository) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `minver_rs` (test "integration_test") generated 1 warning (run `cargo fix --test "integration_test" -p minver_rs` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minver_rs-f44cfb2544937e27) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test semver::test::test_precedence_comparison ... ok [INFO] [stdout] test semver::test::test_build_metadata_ignored_in_precedence_comparison ... ok [INFO] [stdout] test semver::test::test_prerelease_precedence_comparison ... ok [INFO] [stdout] test semver::test::test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/minver_cli.rs (/opt/rustwide/target/debug/deps/minver-54faef5b082ea7c7) [INFO] [stderr] Running unittests src/minver_build_util.rs (/opt/rustwide/target/debug/deps/minver_build_util-c097c43d19900022) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-d46922d76633fd2a) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test test_configured_build_metadata_is_appended_when_tag_metadata_exists ... ok [INFO] [stdout] test test_tags_not_matching_prefix_are_ignored ... ok [INFO] [stdout] test test_configured_build_metadata_is_used ... ok [INFO] [stdout] test test_height_is_appended_to_version ... ok [INFO] [stdout] test test_configured_prerelease_identifier_is_used ... ok [INFO] [stdout] test test_invalid_tags_are_ignored ... ok [INFO] [stdout] test test_tagged_head_returns_tag_version ... ok [INFO] [stdout] test test_configured_version_is_incremented ... ok [INFO] [stdout] test test_when_no_tags_are_present_in_ancestors_then_default_version_is_returned ... ok [INFO] [stdout] test test_when_build_metadata_is_present_in_tagged_head_then_metadata_is_included_in_version ... ok [INFO] [stdout] test test_when_old_commit_is_checked_out_then_newer_tags_are_ignored ... ok [INFO] [stdout] test test_when_lower_tag_is_more_recent_then_older_version_is_returned ... ok [INFO] [stdout] test test_when_branches_diverge_with_multiple_tags_then_higher_tag_is_used ... ok [INFO] [stdout] test test_when_repo_access_fails_then_error_is_returned ... ok [INFO] [stdout] test test_when_prerelease_identifier_is_present_in_tag_then_that_identifier_is_used_in_version ... ok [INFO] [stdout] test test_when_build_metadata_is_present_in_old_tag_then_metadata_is_ignored ... ok [INFO] [stdout] test test_when_branches_merge_with_same_tagged_parent_then_lower_height_is_used ... ok [INFO] [stdout] test test_when_merged_branch_has_lower_version_tag_then_main_branch_version_is_returned ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] Doc-tests minver_rs [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/build_utils.rs - build_utils::default_build_action (line 20) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2d846ec5be58247890a5ae1eda16d96d2c08cd84efc67ea46687fe929d17b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d846ec5be58247890a5ae1eda16d96d2c08cd84efc67ea46687fe929d17b51", kill_on_drop: false }` [INFO] [stdout] a2d846ec5be58247890a5ae1eda16d96d2c08cd84efc67ea46687fe929d17b51