[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklinChen%2Ftype-directed-tdd-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FranklinChen/type-directed-tdd-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-4/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-4/source/src/fizzbuzz.rs` was erroneously implicitly accepted for binary `fizzbuzz`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-4/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-4/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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 544a96ef3568fda4cc007417087039c23c495cfc0e53ff0dd2aa23bfa05cb6d2 [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" "544a96ef3568fda4cc007417087039c23c495cfc0e53ff0dd2aa23bfa05cb6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "544a96ef3568fda4cc007417087039c23c495cfc0e53ff0dd2aa23bfa05cb6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544a96ef3568fda4cc007417087039c23c495cfc0e53ff0dd2aa23bfa05cb6d2", kill_on_drop: false }` [INFO] [stdout] 544a96ef3568fda4cc007417087039c23c495cfc0e53ff0dd2aa23bfa05cb6d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d5d2239e98c608c3dc0db34ff017702cd744bbf39dbdeb279ca308afd44f5c [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" "a5d5d2239e98c608c3dc0db34ff017702cd744bbf39dbdeb279ca308afd44f5c", 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 getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking quickcheck v1.0.3 [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 `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[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[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[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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a5d5d2239e98c608c3dc0db34ff017702cd744bbf39dbdeb279ca308afd44f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d5d2239e98c608c3dc0db34ff017702cd744bbf39dbdeb279ca308afd44f5c", kill_on_drop: false }` [INFO] [stdout] a5d5d2239e98c608c3dc0db34ff017702cd744bbf39dbdeb279ca308afd44f5c