[INFO] crate bl_save 0.2.0 is already in cache [INFO] extracting crate bl_save 0.2.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/bl_save/0.2.0 [INFO] extracting crate bl_save 0.2.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bl_save/0.2.0 [INFO] validating manifest of bl_save-0.2.0 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 bl_save-0.2.0 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 bl_save-0.2.0 [INFO] finished frobbing bl_save-0.2.0 [INFO] frobbed toml for bl_save-0.2.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/bl_save/0.2.0/Cargo.toml [INFO] started frobbing bl_save-0.2.0 [INFO] finished frobbing bl_save-0.2.0 [INFO] frobbed toml for bl_save-0.2.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bl_save/0.2.0/Cargo.toml [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] 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 bl_save-0.2.0 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-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/bl_save/0.2.0:/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] 05cc3d977352b42b548b3f5208b2cc0ffa821035c9d68ff2e6a5a78c215e0edc [INFO] running `"docker" "start" "-a" "05cc3d977352b42b548b3f5208b2cc0ffa821035c9d68ff2e6a5a78c215e0edc"` [INFO] [stderr] Compiling bl_save v0.2.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `"docker" "inspect" "05cc3d977352b42b548b3f5208b2cc0ffa821035c9d68ff2e6a5a78c215e0edc"` [INFO] running `"docker" "rm" "-f" "05cc3d977352b42b548b3f5208b2cc0ffa821035c9d68ff2e6a5a78c215e0edc"` [INFO] [stdout] 05cc3d977352b42b548b3f5208b2cc0ffa821035c9d68ff2e6a5a78c215e0edc [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/bl_save/0.2.0:/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" "test" "--frozen" "--no-run"` [INFO] [stdout] fe00ccde8dfdb270e9be2ff97a78cd1fe9893486f30ba95e73877cd2a03f0bfb [INFO] running `"docker" "start" "-a" "fe00ccde8dfdb270e9be2ff97a78cd1fe9893486f30ba95e73877cd2a03f0bfb"` [INFO] [stderr] Compiling bl_save v0.2.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `"docker" "inspect" "fe00ccde8dfdb270e9be2ff97a78cd1fe9893486f30ba95e73877cd2a03f0bfb"` [INFO] running `"docker" "rm" "-f" "fe00ccde8dfdb270e9be2ff97a78cd1fe9893486f30ba95e73877cd2a03f0bfb"` [INFO] [stdout] fe00ccde8dfdb270e9be2ff97a78cd1fe9893486f30ba95e73877cd2a03f0bfb [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/bl_save/0.2.0:/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" "test" "--frozen"` [INFO] [stdout] c91c3969332fce5621741b728865d83f47cf7e0e9f12531e5e320b60cd9334eb [INFO] running `"docker" "start" "-a" "c91c3969332fce5621741b728865d83f47cf7e0e9f12531e5e320b60cd9334eb"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/bl_save-162f08d50fee677f [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 [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/print-5e8a3f87ea21670e [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 [INFO] [stdout] [INFO] [stderr] Doc-tests bl_save [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/read.rs - read::Reader::new (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BufReader` [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 4 | let file = BufReader::new(File::open("House.bls")?); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BufReader` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stdout] --> src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 4 | let file = BufReader::new(File::open("House.bls")?); [INFO] [stdout] | ^^^^ use of undeclared type or module `File` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 4 | let file = BufReader::new(File::open("House.bls")?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 5 | let reader = bl_save::Reader::new(file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: `&str` is not an iterator [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 7 | for line in reader.description() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `&str` is not an iterator; try calling `.chars()` or `.bytes()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `&str` [INFO] [stdout] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::option::Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 12 | println!("Brick count: {}", reader.brick_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `std::option::Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::option::Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 15 | let brick = brick?; [INFO] [stdout] | ^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/read.rs - read::Reader::new (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BufReader` [INFO] [stdout] --> src/read.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 4 | let file = BufReader::new(File::open("House.bls")?); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BufReader` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stdout] --> src/read.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 4 | let file = BufReader::new(File::open("House.bls")?); [INFO] [stdout] | ^^^^ use of undeclared type or module `File` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/read.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 4 | let file = BufReader::new(File::open("House.bls")?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/read.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 5 | let reader = bl_save::Reader::new(file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/read.rs - read::Reader::new (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "c91c3969332fce5621741b728865d83f47cf7e0e9f12531e5e320b60cd9334eb"` [INFO] running `"docker" "rm" "-f" "c91c3969332fce5621741b728865d83f47cf7e0e9f12531e5e320b60cd9334eb"` [INFO] [stdout] c91c3969332fce5621741b728865d83f47cf7e0e9f12531e5e320b60cd9334eb