[INFO] cloning repository https://github.com/bcr/fraction-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bcr/fraction-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcr%2Ffraction-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcr%2Ffraction-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3149d0e840c30c421b85c1795c9f1c2058e1a550 [INFO] testing bcr/fraction-rs against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcr%2Ffraction-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bcr/fraction-rs [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/bcr/fraction-rs [INFO] tweaked toml for git repo https://github.com/bcr/fraction-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bcr/fraction-rs on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bcr/fraction-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bbqsrc/cucumber-rust` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cute_custom_default v2.1.0 [INFO] [stderr] Downloaded typed-builder v0.7.1 [INFO] [stderr] Downloaded shh v1.0.1 [INFO] [stderr] Downloaded gherkin_rust v0.10.1 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cb4badc1f128e8ef65670437c7a855ed36954f4aa973cb6fcd7dcb94b91c2fb [INFO] running `Command { std: "docker" "start" "-a" "7cb4badc1f128e8ef65670437c7a855ed36954f4aa973cb6fcd7dcb94b91c2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cb4badc1f128e8ef65670437c7a855ed36954f4aa973cb6fcd7dcb94b91c2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb4badc1f128e8ef65670437c7a855ed36954f4aa973cb6fcd7dcb94b91c2fb", kill_on_drop: false }` [INFO] [stdout] 7cb4badc1f128e8ef65670437c7a855ed36954f4aa973cb6fcd7dcb94b91c2fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92de1e55ccf0c528e84313e8cfede0c1cedd13b208c4f4c9222dca3ffda2f118 [INFO] running `Command { std: "docker" "start" "-a" "92de1e55ccf0c528e84313e8cfede0c1cedd13b208c4f4c9222dca3ffda2f118", kill_on_drop: false }` [INFO] [stderr] Compiling fraction v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "92de1e55ccf0c528e84313e8cfede0c1cedd13b208c4f4c9222dca3ffda2f118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92de1e55ccf0c528e84313e8cfede0c1cedd13b208c4f4c9222dca3ffda2f118", kill_on_drop: false }` [INFO] [stdout] 92de1e55ccf0c528e84313e8cfede0c1cedd13b208c4f4c9222dca3ffda2f118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19ad44d4afb9fb12fd546b380fabdf77962ffa0a51c7c9f1298545db911d6602 [INFO] running `Command { std: "docker" "start" "-a" "19ad44d4afb9fb12fd546b380fabdf77962ffa0a51c7c9f1298545db911d6602", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling pathdiff v0.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling shh v1.0.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-stream-impl v0.3.1 [INFO] [stderr] Compiling typed-builder v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling cute_custom_default v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling async-stream v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling gherkin_rust v0.10.1 [INFO] [stderr] Compiling cucumber_rust v0.8.4 (https://github.com/bbqsrc/cucumber-rust?branch=main#93bdaaf0) [INFO] [stderr] Compiling fraction v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.73s [INFO] running `Command { std: "docker" "inspect" "19ad44d4afb9fb12fd546b380fabdf77962ffa0a51c7c9f1298545db911d6602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ad44d4afb9fb12fd546b380fabdf77962ffa0a51c7c9f1298545db911d6602", kill_on_drop: false }` [INFO] [stdout] 19ad44d4afb9fb12fd546b380fabdf77962ffa0a51c7c9f1298545db911d6602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f51b61f63ac3110d7f7d2b07dd0409c5f8240292f1b7e9b0c1fa5ff9d69f27ac [INFO] running `Command { std: "docker" "start" "-a" "f51b61f63ac3110d7f7d2b07dd0409c5f8240292f1b7e9b0c1fa5ff9d69f27ac", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fraction-8d8856f8ea5cf7c0) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::add ... ok [INFO] [stdout] test tests::divide ... ok [INFO] [stdout] test tests::examples ... ok [INFO] [stdout] test tests::format ... ok [INFO] [stdout] test tests::fraction ... ok [INFO] [stdout] test tests::mixed ... ok [INFO] [stdout] test tests::sub ... ok [INFO] [stdout] test tests::whole_number ... ok [INFO] [stdout] test tests::multiply ... ok [INFO] [stdout] test tests::spaces ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fraction-81a1c084daa63f3a) [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/cucumber.rs (/opt/rustwide/target/debug/deps/cucumber-2ae69f9999b1f2a4) [INFO] [stdout] [Cucumber v0.8.4] [INFO] [stdout] Feature: Given requirements  features/requirements.feature:1:1  [INFO] [stdout]  [INFO] [stdout]  Scenario: Operands and operators shall be separated by one or more spaces. [INFO] [stdout]  features/requirements.feature:5:5  [INFO] [stdout]  When we have the input "1 + 2"  features/requirements.feature:6:9  [INFO] [stdout]  ✔ When we have the input "1 + 2"  features/requirements.feature:6:9  [INFO] [stdout]  Then the output should be "3"  features/requirements.feature:7:9  [INFO] [stdout]  ✔ Then the output should be "3"  features/requirements.feature:7:9  [INFO] [stdout]  Scenario: Mixed numbers will be represented by whole_numerator/denominator. [INFO] [stdout] e.g. "3_1/4".  features/requirements.feature:9:5  [INFO] [stdout]  When we have the input "3_1/4 + 0"  features/requirements.feature:10:9  [INFO] [stdout]  ✔ When we have the input "3_1/4 + 0"  features/requirements.feature:10:9  [INFO] [stdout]  Then the output should be "3_1/4"  features/requirements.feature:11:9  [INFO] [stdout]  ✔ Then the output should be "3_1/4"  features/requirements.feature:11:9  [INFO] [stdout]  Scenario: Improper fractions and whole numbers are also allowed as operands. [INFO] [stdout]  features/requirements.feature:13:5  [INFO] [stdout]  When we have the input "9/8 + 2"  features/requirements.feature:14:9  [INFO] [stdout]  ✔ When we have the input "9/8 + 2"  features/requirements.feature:14:9  [INFO] [stdout]  Then the output should be "3_1/8"  features/requirements.feature:15:9  [INFO] [stdout]  ✔ Then the output should be "3_1/8"  features/requirements.feature:15:9  [INFO] [stdout]  Scenario: Multiplication works.  features/requirements.feature:17:5  [INFO] [stdout]  When we have the input "1/2 * 2"  features/requirements.feature:18:9  [INFO] [stdout]  ✔ When we have the input "1/2 * 2"  features/requirements.feature:18:9  [INFO] [stdout]  Then the output should be "1"  features/requirements.feature:19:9  [INFO] [stdout]  ✔ Then the output should be "1"  features/requirements.feature:19:9  [INFO] [stdout]  Scenario: Addition works.  features/requirements.feature:21:5  [INFO] [stdout]  When we have the input "1/2 + 1/4"  features/requirements.feature:22:9  [INFO] [stdout]  ✔ When we have the input "1/2 + 1/4"  features/requirements.feature:22:9  [INFO] [stdout]  Then the output should be "3/4"  features/requirements.feature:23:9  [INFO] [stdout]  ✔ Then the output should be "3/4"  features/requirements.feature:23:9  [INFO] [stdout]  Scenario: Subtraction works.  features/requirements.feature:25:5  [INFO] [stdout]  When we have the input "1/2 - 1/4"  features/requirements.feature:26:9  [INFO] [stdout]  ✔ When we have the input "1/2 - 1/4"  features/requirements.feature:26:9  [INFO] [stdout]  Then the output should be "1/4"  features/requirements.feature:27:9  [INFO] [stdout]  ✔ Then the output should be "1/4"  features/requirements.feature:27:9  [INFO] [stdout]  Scenario: Division works.  features/requirements.feature:29:5  [INFO] [stdout]  When we have the input "1/2 / 1/2"  features/requirements.feature:30:9  [INFO] [stdout]  ✔ When we have the input "1/2 / 1/2"  features/requirements.feature:30:9  [INFO] [stdout]  Then the output should be "1"  features/requirements.feature:31:9  [INFO] [stdout]  ✔ Then the output should be "1"  features/requirements.feature:31:9  [INFO] [stdout]  Scenario: Example one from requirements.  features/requirements.feature:33:5  [INFO] [stdout]  When we have the input "1/2 * 3_3/4"  features/requirements.feature:34:9  [INFO] [stdout]  ✔ When we have the input "1/2 * 3_3/4"  features/requirements.feature:34:9  [INFO] [stdout]  Then the output should be "1_7/8"  features/requirements.feature:35:9  [INFO] [stdout]  ✔ Then the output should be "1_7/8"  features/requirements.feature:35:9  [INFO] [stdout]  Scenario: Example two from requirements.  features/requirements.feature:37:5  [INFO] [stdout]  When we have the input "2_3/8 + 9/8"  features/requirements.feature:38:9  [INFO] [stdout]  ✔ When we have the input "2_3/8 + 9/8"  features/requirements.feature:38:9  [INFO] [stdout]  Then the output should be "3_1/2"  features/requirements.feature:39:9  [INFO] [stdout]  ✔ Then the output should be "3_1/2"  features/requirements.feature:39:9  [INFO] [stdout]  [INFO] [stdout] [Summary] [INFO] [stdout] 1 features [INFO] [stdout] 9 scenarios (9 passed) [INFO] [stdout] 36 steps (18 passed) [INFO] [stdout]  [INFO] [stdout] Finished in 0.10 seconds. [INFO] [stderr] Doc-tests fraction [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] running `Command { std: "docker" "inspect" "f51b61f63ac3110d7f7d2b07dd0409c5f8240292f1b7e9b0c1fa5ff9d69f27ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51b61f63ac3110d7f7d2b07dd0409c5f8240292f1b7e9b0c1fa5ff9d69f27ac", kill_on_drop: false }` [INFO] [stdout] f51b61f63ac3110d7f7d2b07dd0409c5f8240292f1b7e9b0c1fa5ff9d69f27ac