[INFO] cloning repository https://github.com/FranklinChen/type-directed-tdd-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FranklinChen/type-directed-tdd-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklinChen%2Ftype-directed-tdd-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklinChen%2Ftype-directed-tdd-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e13d67be02773a1f7567ab041580d4b2e62b5d9 [INFO] checking FranklinChen/type-directed-tdd-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklinChen%2Ftype-directed-tdd-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FranklinChen/type-directed-tdd-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FranklinChen/type-directed-tdd-rust [INFO] finished tweaking git repo https://github.com/FranklinChen/type-directed-tdd-rust [INFO] tweaked toml for git repo https://github.com/FranklinChen/type-directed-tdd-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FranklinChen/type-directed-tdd-rust 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/fizzbuzz.rs` was erroneously implicitly accepted for binary `fizzbuzz`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.3.4 [INFO] [stderr] Downloaded thread_local v0.2.6 [INFO] [stderr] Downloaded quickcheck v0.3.1 [INFO] [stderr] Downloaded libc v0.2.15 [INFO] [stderr] Downloaded regex-syntax v0.3.4 [INFO] [stderr] Downloaded aho-corasick v0.5.2 [INFO] [stderr] Downloaded regex v0.1.73 [INFO] [stderr] Downloaded itertools v0.4.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb8b0845ac2db305b8d6a4d1631372ab1dc0f79053299a2d83e91efb86e0e058 [INFO] running `Command { std: "docker" "start" "-a" "bb8b0845ac2db305b8d6a4d1631372ab1dc0f79053299a2d83e91efb86e0e058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb8b0845ac2db305b8d6a4d1631372ab1dc0f79053299a2d83e91efb86e0e058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8b0845ac2db305b8d6a4d1631372ab1dc0f79053299a2d83e91efb86e0e058", kill_on_drop: false }` [INFO] [stdout] bb8b0845ac2db305b8d6a4d1631372ab1dc0f79053299a2d83e91efb86e0e058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 477ee09b479d268cdc1284002b330062fa1c1442420a51c9f53c6967c8ca0d68 [INFO] running `Command { std: "docker" "start" "-a" "477ee09b479d268cdc1284002b330062fa1c1442420a51c9f53c6967c8ca0d68", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/fizzbuzz.rs` was erroneously implicitly accepted for binary `fizzbuzz`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.4 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking itertools v0.4.18 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Checking thread_local v0.2.6 [INFO] [stderr] Checking regex v0.1.73 [INFO] [stderr] Checking env_logger v0.3.4 [INFO] [stderr] Checking quickcheck v0.3.1 [INFO] [stderr] Checking type-directed-tdd-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `option_utils` [INFO] [stdout] --> src/fizzbuzz.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use option_utils; [INFO] [stdout] | ^^^^^^^^^^^^ no `option_utils` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validation` [INFO] [stdout] --> src/fizzbuzz.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use validation; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `validation` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `option_utils` [INFO] [stdout] --> src/fizzbuzz.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use option_utils; [INFO] [stdout] | ^^^^^^^^^^^^ no `option_utils` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `divisor` [INFO] [stdout] --> src/fizzbuzz.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use divisor; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `divisor` in the root [INFO] [stdout] | help: a similar name exists in the module: `Divisor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validation` [INFO] [stdout] --> src/fizzbuzz.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use validation; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `validation` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `divisor` [INFO] [stdout] --> src/fizzbuzz.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use divisor; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `divisor` in the root [INFO] [stdout] | help: a similar name exists in the module: `Divisor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/fizzbuzz.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | use quickcheck::TestResult; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `quickcheck`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate quickcheck` to use the `quickcheck` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `fizzbuzz` [INFO] [stdout] --> src/fizzbuzz.rs:103:2 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/fizzbuzz.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `quickcheck`? [INFO] [stdout] --> src/fizzbuzz.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | ::quickcheck::quickcheck( [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `quickcheck`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate quickcheck` to use the `quickcheck` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fizzbuzz.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if i % d_ref.get() == 0 { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `type-directed-tdd-rust` (bin "fizzbuzz") due to 6 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fizzbuzz.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if i % d_ref.get() == 0 { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TooBig` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | let expected = Err(vec![TooBig(101), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TooSmall` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | ... TooSmall(-5), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TooBig` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | ... TooBig(102)]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `type-directed-tdd-rust` (bin "fizzbuzz" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "477ee09b479d268cdc1284002b330062fa1c1442420a51c9f53c6967c8ca0d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477ee09b479d268cdc1284002b330062fa1c1442420a51c9f53c6967c8ca0d68", kill_on_drop: false }` [INFO] [stdout] 477ee09b479d268cdc1284002b330062fa1c1442420a51c9f53c6967c8ca0d68