[INFO] updating cached repository FranklinChen/type-directed-tdd-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/FranklinChen/type-directed-tdd-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/FranklinChen/type-directed-tdd-rust" "work/ex/beta-1.38-1/sources/1.37.0/gh/FranklinChen/type-directed-tdd-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/FranklinChen/type-directed-tdd-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/FranklinChen/type-directed-tdd-rust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/FranklinChen/type-directed-tdd-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/FranklinChen/type-directed-tdd-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2e13d67be02773a1f7567ab041580d4b2e62b5d9 [INFO] sha for GitHub repo FranklinChen/type-directed-tdd-rust: 2e13d67be02773a1f7567ab041580d4b2e62b5d9 [INFO] validating manifest of FranklinChen/type-directed-tdd-rust on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of FranklinChen/type-directed-tdd-rust on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing FranklinChen/type-directed-tdd-rust [INFO] finished frobbing FranklinChen/type-directed-tdd-rust [INFO] frobbed toml for FranklinChen/type-directed-tdd-rust written to work/ex/beta-1.38-1/sources/1.37.0/gh/FranklinChen/type-directed-tdd-rust/Cargo.toml [INFO] started frobbing FranklinChen/type-directed-tdd-rust [INFO] finished frobbing FranklinChen/type-directed-tdd-rust [INFO] frobbed toml for FranklinChen/type-directed-tdd-rust written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/FranklinChen/type-directed-tdd-rust/Cargo.toml [INFO] crate FranklinChen/type-directed-tdd-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/FranklinChen/type-directed-tdd-rust/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing FranklinChen/type-directed-tdd-rust against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/FranklinChen/type-directed-tdd-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 7c8f91e5f4f79b7f711d2821a735d3215a6aa223d6c6f0948b6556bde8f3f477 [INFO] running `"docker" "start" "-a" "7c8f91e5f4f79b7f711d2821a735d3215a6aa223d6c6f0948b6556bde8f3f477"` [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/crater/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/crater/workdir/src/fizzbuzz.rs` was erroneously implicitly accepted for binary `fizzbuzz`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling quickcheck v0.8.5 [INFO] [stderr] Compiling type-directed-tdd-rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `option_utils` [INFO] [stderr] --> src/fizzbuzz.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use option_utils; [INFO] [stderr] | ^^^^^^^^^^^^ no `option_utils` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `validation` [INFO] [stderr] --> src/fizzbuzz.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use validation; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `validation` in the root [INFO] [stderr] | help: a similar name exists in the module: `Validation` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `divisor` [INFO] [stderr] --> src/fizzbuzz.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use divisor; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `divisor` in the root [INFO] [stderr] | help: a similar name exists in the module: `Divisor` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Divisor` [INFO] [stderr] --> src/fizzbuzz.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | Divisor::new(d).map(|div| (div, word))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Divisor` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Divisor` in this scope [INFO] [stderr] --> src/fizzbuzz.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | pub type DivisorWord = (Divisor, String); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Validation` in this scope [INFO] [stderr] --> src/fizzbuzz.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | -> Validation { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `validation::Validation` [INFO] [stderr] --> src/fizzbuzz.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use validation::Validation; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `divisor::Divisor` [INFO] [stderr] --> src/fizzbuzz.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use divisor::Divisor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `fizzbuzz` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/fizzbuzz.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `type-directed-tdd-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7c8f91e5f4f79b7f711d2821a735d3215a6aa223d6c6f0948b6556bde8f3f477"` [INFO] running `"docker" "rm" "-f" "7c8f91e5f4f79b7f711d2821a735d3215a6aa223d6c6f0948b6556bde8f3f477"` [INFO] [stdout] 7c8f91e5f4f79b7f711d2821a735d3215a6aa223d6c6f0948b6556bde8f3f477