[INFO] cloning repository https://github.com/gngeorgiev/semver_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gngeorgiev/semver_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgngeorgiev%2Fsemver_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgngeorgiev%2Fsemver_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90cf64d0049ef716211e15cfad3640f45735753f [INFO] testing gngeorgiev/semver_rs against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgngeorgiev%2Fsemver_rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gngeorgiev/semver_rs on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gngeorgiev/semver_rs [INFO] finished tweaking git repo https://github.com/gngeorgiev/semver_rs [INFO] tweaked toml for git repo https://github.com/gngeorgiev/semver_rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gngeorgiev/semver_rs 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `semver_rs` package) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a1a77317b8c8a5840d995a5ee6024b6b65ad076b810ea9967fc89b6e811b884 [INFO] running `Command { std: "docker" "start" "-a" "4a1a77317b8c8a5840d995a5ee6024b6b65ad076b810ea9967fc89b6e811b884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a1a77317b8c8a5840d995a5ee6024b6b65ad076b810ea9967fc89b6e811b884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a1a77317b8c8a5840d995a5ee6024b6b65ad076b810ea9967fc89b6e811b884", kill_on_drop: false }` [INFO] [stdout] 4a1a77317b8c8a5840d995a5ee6024b6b65ad076b810ea9967fc89b6e811b884 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982f447e67a98e8205122c8114eebaeb800eea4c465caabc6f2427bbc23eadab [INFO] running `Command { std: "docker" "start" "-a" "982f447e67a98e8205122c8114eebaeb800eea4c465caabc6f2427bbc23eadab", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `semver_rs` package) [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling semver_rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.87s [INFO] running `Command { std: "docker" "inspect" "982f447e67a98e8205122c8114eebaeb800eea4c465caabc6f2427bbc23eadab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982f447e67a98e8205122c8114eebaeb800eea4c465caabc6f2427bbc23eadab", kill_on_drop: false }` [INFO] [stdout] 982f447e67a98e8205122c8114eebaeb800eea4c465caabc6f2427bbc23eadab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 097c6a9311478c8e036c4c38171f6749d095e7e9f21b69cbaf39ca8a5dfd36d6 [INFO] running `Command { std: "docker" "start" "-a" "097c6a9311478c8e036c4c38171f6749d095e7e9f21b69cbaf39ca8a5dfd36d6", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `semver_rs` package) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling semver_rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "097c6a9311478c8e036c4c38171f6749d095e7e9f21b69cbaf39ca8a5dfd36d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097c6a9311478c8e036c4c38171f6749d095e7e9f21b69cbaf39ca8a5dfd36d6", kill_on_drop: false }` [INFO] [stdout] 097c6a9311478c8e036c4c38171f6749d095e7e9f21b69cbaf39ca8a5dfd36d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba9bf25bf06548b6841132cf2dd53f5c5151939d330737af41cd1103bccc33c4 [INFO] running `Command { std: "docker" "start" "-a" "ba9bf25bf06548b6841132cf2dd53f5c5151939d330737af41cd1103bccc33c4", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `semver_rs` package) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/semver_rs-73a5713a2984630d) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test comparator::tests::replace_stars ... ok [INFO] [stdout] test comparator::tests::replace_carets ... ok [INFO] [stdout] test range::tests::replce_carets ... ok [INFO] [stdout] test comparator::tests::replace_xranges ... ok [INFO] [stdout] test range::tests::trim_caret ... ok [INFO] [stdout] test range::tests::trim_operators ... ok [INFO] [stdout] test comparator::tests::replace_tildes ... ok [INFO] [stdout] test range::tests::trim_tilde ... ok [INFO] [stdout] test range::tests::trim_spaces ... ok [INFO] [stdout] test tests::compares ... ok [INFO] [stdout] test tests::equality ... ok [INFO] [stdout] test version::tests::test_sort ... ok [INFO] [stdout] test tests::clean ... ok [INFO] [stdout] test range::tests::replace_hyphens ... ok [INFO] [stdout] test tests::unlocked_prerelease_range ... ok [INFO] [stdout] test tests::negative_unlocked_prerelease_range ... ok [INFO] [stdout] test tests::negative_satisfies ... ok [INFO] [stdout] test tests::satisfies ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests semver_rs [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] test src/builder.rs - builder::Options (line 40) ... ok [INFO] [stdout] test src/builder.rs - builder::OptionsBuilder (line 10) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 60) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Options: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 9 | let _ = serde_json::to_string(&opts)?; [INFO] [stdout] | --------------------- ^^^^^ the trait `serde::ser::Serialize` is not implemented for `Options` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.71/src/ser.rs:2216:17 [INFO] [stdout] | [INFO] [stdout] 2214 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2215 | where [INFO] [stdout] 2216 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 60) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ba9bf25bf06548b6841132cf2dd53f5c5151939d330737af41cd1103bccc33c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9bf25bf06548b6841132cf2dd53f5c5151939d330737af41cd1103bccc33c4", kill_on_drop: false }` [INFO] [stdout] ba9bf25bf06548b6841132cf2dd53f5c5151939d330737af41cd1103bccc33c4