[INFO] updating cached repository hasanhaja/rust_book_workthrough [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hasanhaja/rust_book_workthrough [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hasanhaja/rust_book_workthrough" "work/ex/beta-1.38-1/sources/1.37.0/gh/hasanhaja/rust_book_workthrough"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/hasanhaja/rust_book_workthrough'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hasanhaja/rust_book_workthrough" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/hasanhaja/rust_book_workthrough"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/hasanhaja/rust_book_workthrough'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fb94a901fa00cfef7e3484d23d28279d003a7cf0 [INFO] sha for GitHub repo hasanhaja/rust_book_workthrough: fb94a901fa00cfef7e3484d23d28279d003a7cf0 [INFO] validating manifest of hasanhaja/rust_book_workthrough 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 hasanhaja/rust_book_workthrough 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 hasanhaja/rust_book_workthrough [INFO] finished frobbing hasanhaja/rust_book_workthrough [INFO] frobbed toml for hasanhaja/rust_book_workthrough written to work/ex/beta-1.38-1/sources/1.37.0/gh/hasanhaja/rust_book_workthrough/Cargo.toml [INFO] started frobbing hasanhaja/rust_book_workthrough [INFO] finished frobbing hasanhaja/rust_book_workthrough [INFO] frobbed toml for hasanhaja/rust_book_workthrough written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/hasanhaja/rust_book_workthrough/Cargo.toml [INFO] crate hasanhaja/rust_book_workthrough 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing hasanhaja/rust_book_workthrough 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-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/hasanhaja/rust_book_workthrough:/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] 8e3070306d3e3db2d4dc9a0e221dad472589a3a0a488369d24351f2035f8ca6a [INFO] running `"docker" "start" "-a" "8e3070306d3e3db2d4dc9a0e221dad472589a3a0a488369d24351f2035f8ca6a"` [INFO] [stderr] Compiling rust_book_workthrough v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `crate::structs::Rectangle` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::structs::Rectangle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Person` [INFO] [stderr] --> src/structs.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Person { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Triangle` [INFO] [stderr] --> src/structs.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Triangle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `area` [INFO] [stderr] --> src/structs.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn area(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Rectangle` [INFO] [stderr] --> src/structs.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Rectangle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `square` [INFO] [stderr] --> src/structs.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn square(size: u64) -> Rectangle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `area` [INFO] [stderr] --> src/structs.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn area(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `can_hold` [INFO] [stderr] --> src/structs.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Guess` [INFO] [stderr] --> src/main.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | struct Guess { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(value: i32) -> Guess { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `"docker" "inspect" "8e3070306d3e3db2d4dc9a0e221dad472589a3a0a488369d24351f2035f8ca6a"` [INFO] running `"docker" "rm" "-f" "8e3070306d3e3db2d4dc9a0e221dad472589a3a0a488369d24351f2035f8ca6a"` [INFO] [stdout] 8e3070306d3e3db2d4dc9a0e221dad472589a3a0a488369d24351f2035f8ca6a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/hasanhaja/rust_book_workthrough:/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] cfba922e4bf26bd129841a3e4b5c2cc1afd7a030ff2556f485b44aa10be6ec1c [INFO] running `"docker" "start" "-a" "cfba922e4bf26bd129841a3e4b5c2cc1afd7a030ff2556f485b44aa10be6ec1c"` [INFO] [stderr] Compiling rust_book_workthrough v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: struct is never constructed: `Person` [INFO] [stderr] --> src/structs.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Person { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Triangle` [INFO] [stderr] --> src/structs.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Triangle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `area` [INFO] [stderr] --> src/structs.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn area(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `square` [INFO] [stderr] --> src/structs.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn square(size: u64) -> Rectangle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `area` [INFO] [stderr] --> src/structs.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn area(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `value` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | value: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `"docker" "inspect" "cfba922e4bf26bd129841a3e4b5c2cc1afd7a030ff2556f485b44aa10be6ec1c"` [INFO] running `"docker" "rm" "-f" "cfba922e4bf26bd129841a3e4b5c2cc1afd7a030ff2556f485b44aa10be6ec1c"` [INFO] [stdout] cfba922e4bf26bd129841a3e4b5c2cc1afd7a030ff2556f485b44aa10be6ec1c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/hasanhaja/rust_book_workthrough:/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] f5242b53a8c0523024eae7fcafec2973cf87df756ef65eea5e0bf48a9465d564 [INFO] running `"docker" "start" "-a" "f5242b53a8c0523024eae7fcafec2973cf87df756ef65eea5e0bf48a9465d564"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/rust_book_workthrough-2181b983259ff006 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::greeting_contains_name ... ok [INFO] [stdout] test tests::it_adds_two ... ok [INFO] [stdout] test tests::larger_can_hold_smaller ... ok [INFO] [stdout] test tests::another_one ... ok [INFO] [stdout] test tests::smaller_cannot_hold_larger ... ok [INFO] [stdout] test tests::result_works ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::greater_than_100 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "f5242b53a8c0523024eae7fcafec2973cf87df756ef65eea5e0bf48a9465d564"` [INFO] running `"docker" "rm" "-f" "f5242b53a8c0523024eae7fcafec2973cf87df756ef65eea5e0bf48a9465d564"` [INFO] [stdout] f5242b53a8c0523024eae7fcafec2973cf87df756ef65eea5e0bf48a9465d564