[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklinChen%2Ftype-directed-tdd-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FranklinChen/type-directed-tdd-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-3/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: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] * /workspace/builds/worker-3/source/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 `/workspace/builds/worker-3/source/src/fizzbuzz.rs` was erroneously implicitly accepted for binary `fizzbuzz`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bec4ad273f851a20dcc5fb253e64575ce49807411d3e68d9fd607d0bdd57409d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bec4ad273f851a20dcc5fb253e64575ce49807411d3e68d9fd607d0bdd57409d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bec4ad273f851a20dcc5fb253e64575ce49807411d3e68d9fd607d0bdd57409d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec4ad273f851a20dcc5fb253e64575ce49807411d3e68d9fd607d0bdd57409d", kill_on_drop: false }` [INFO] [stdout] bec4ad273f851a20dcc5fb253e64575ce49807411d3e68d9fd607d0bdd57409d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ce8b4acf257b2a7a9a9e5c6896176c222b845ce8c0ada83158bdefdec2f279e4 [INFO] running `Command { std: "docker" "start" "-a" "ce8b4acf257b2a7a9a9e5c6896176c222b845ce8c0ada83158bdefdec2f279e4", 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] * /opt/rustwide/workdir/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 `/opt/rustwide/workdir/src/fizzbuzz.rs` was erroneously implicitly accepted for binary `fizzbuzz`, [INFO] [stderr] please set bin.path in Cargo.toml [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] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [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 `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 `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 `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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Divisor` [INFO] [stdout] --> src/fizzbuzz.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Divisor::new(d).map(|div| (div, word))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Divisor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Divisor` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub type DivisorWord = (Divisor, String); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Validation` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | -> Validation { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `fizzbuzz` [INFO] [stdout] --> src/fizzbuzz.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / use option_utils; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | use validation; [INFO] [stdout] 7 | | use validation::Validation; [INFO] [stdout] ... | [INFO] [stdout] 102 | | // TODO the other three cases are similar. [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: use of undeclared type `Divisor` [INFO] [stdout] --> src/fizzbuzz.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Divisor::new(d).map(|div| (div, word))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Divisor` [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] [INFO] [stdout] error[E0412]: cannot find type `Divisor` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub type DivisorWord = (Divisor, String); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Validation` in this scope [INFO] [stdout] --> src/fizzbuzz.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | -> Validation { [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: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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `type-directed-tdd-rust` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ce8b4acf257b2a7a9a9e5c6896176c222b845ce8c0ada83158bdefdec2f279e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8b4acf257b2a7a9a9e5c6896176c222b845ce8c0ada83158bdefdec2f279e4", kill_on_drop: false }` [INFO] [stdout] ce8b4acf257b2a7a9a9e5c6896176c222b845ce8c0ada83158bdefdec2f279e4