[INFO] cloning repository CollinValley/rust_practice [INFO] running `"git" "clone" "--bare" "git://github.com/CollinValley/rust_practice.git" "work/cache/sources/gh/CollinValley/rust_practice"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/CollinValley/rust_practice'... [INFO] running `"git" "clone" "work/cache/sources/gh/CollinValley/rust_practice" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/CollinValley/rust_practice"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/CollinValley/rust_practice'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/CollinValley/rust_practice" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/CollinValley/rust_practice"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/CollinValley/rust_practice'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f43ee9bf1397a7e46b78a5a03bc6811988dfc58f [INFO] sha for GitHub repo CollinValley/rust_practice: f43ee9bf1397a7e46b78a5a03bc6811988dfc58f [INFO] validating manifest of CollinValley/rust_practice on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of CollinValley/rust_practice on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing CollinValley/rust_practice [INFO] finished frobbing CollinValley/rust_practice [INFO] frobbed toml for CollinValley/rust_practice written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/CollinValley/rust_practice/Cargo.toml [INFO] started frobbing CollinValley/rust_practice [INFO] finished frobbing CollinValley/rust_practice [INFO] frobbed toml for CollinValley/rust_practice written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/CollinValley/rust_practice/Cargo.toml [INFO] crate CollinValley/rust_practice already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing CollinValley/rust_practice against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/CollinValley/rust_practice:/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] afadecdb88a74e60e3ab4f093151b2dab33283322286dc0b833f3d6c9e966cf7 [INFO] running `"docker" "start" "-a" "afadecdb88a74e60e3ab4f093151b2dab33283322286dc0b833f3d6c9e966cf7"` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chapter_11.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/chapter_10.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | self.plural().trim_right_matches('s') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Extrema` [INFO] [stderr] --> src/chapter_9.rs:157:1 [INFO] [stderr] | [INFO] [stderr] 157 | struct Extrema<'elt> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_extrema` [INFO] [stderr] --> src/chapter_9.rs:162:1 [INFO] [stderr] | [INFO] [stderr] 162 | fn find_extrema<'s>(slice: &'s [i32]) -> Extrema<'s> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `say_hello` [INFO] [stderr] --> src/chapter_11.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `min` [INFO] [stderr] --> src/chapter_11.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | fn min(value1: T, value2: T) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dot` [INFO] [stderr] --> src/chapter_11.rs:199:1 [INFO] [stderr] | [INFO] [stderr] 199 | / fn dot(v1: &[N], v2: &[N]) -> N [INFO] [stderr] 200 | | where N: Add + Mul + Default + Copy [INFO] [stderr] 201 | | { [INFO] [stderr] 202 | | let mut total = N::default(); //All numerical types default will equal 0 [INFO] [stderr] ... | [INFO] [stderr] 206 | | total [INFO] [stderr] 207 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.92s [INFO] running `"docker" "inspect" "afadecdb88a74e60e3ab4f093151b2dab33283322286dc0b833f3d6c9e966cf7"` [INFO] running `"docker" "rm" "-f" "afadecdb88a74e60e3ab4f093151b2dab33283322286dc0b833f3d6c9e966cf7"` [INFO] [stdout] afadecdb88a74e60e3ab4f093151b2dab33283322286dc0b833f3d6c9e966cf7 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/CollinValley/rust_practice:/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] b0f7f7b7fbd1924e46d36a97338eda653d5f33d926a0f8db6b2c7a7dc471ea2e [INFO] running `"docker" "start" "-a" "b0f7f7b7fbd1924e46d36a97338eda653d5f33d926a0f8db6b2c7a7dc471ea2e"` [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/chapter_11.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/chapter_10.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | self.plural().trim_right_matches('s') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `"docker" "inspect" "b0f7f7b7fbd1924e46d36a97338eda653d5f33d926a0f8db6b2c7a7dc471ea2e"` [INFO] running `"docker" "rm" "-f" "b0f7f7b7fbd1924e46d36a97338eda653d5f33d926a0f8db6b2c7a7dc471ea2e"` [INFO] [stdout] b0f7f7b7fbd1924e46d36a97338eda653d5f33d926a0f8db6b2c7a7dc471ea2e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/CollinValley/rust_practice:/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 64043d14966d3abe4e76d4b9f101a9f569c581065147ab71100ed7792af2f78c [INFO] running `"docker" "start" "-a" "64043d14966d3abe4e76d4b9f101a9f569c581065147ab71100ed7792af2f78c"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/crater/target/debug/deps/rust_practice-531653cea31619f0 [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test chapter_10::test_generic_enums ... ok [INFO] [stdout] test chapter_10::test_build_basic_tree ... ok [INFO] [stdout] test chapter_10::test_rough_time_to_english ... ok [INFO] [stdout] test chapter_12::test_complex_negation ... ok [INFO] [stdout] test chapter_12::test_eq ... ok [INFO] [stdout] test chapter_12::test_fmt_display ... ok [INFO] [stdout] test chapter_9::test_find_extrema ... ok [INFO] [stdout] test chapter_9::test_gqueue ... ok [INFO] [stdout] test chapter_9::test_queue ... ok [INFO] [stdout] test chapter_11::test_say_hello ... ok [INFO] [stdout] test chapter_12::test_complex_add ... ok [INFO] [stdout] test chapter_12::test_add_assign ... ok [INFO] [stdout] test chapter_11::test_min ... ok [INFO] [stdout] test chapter_11::test_dot ... ok [INFO] [stdout] test chapter_10::test_add_and_search_binary_tree ... ok [INFO] [stdout] test chapter_10::test_timeunit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "64043d14966d3abe4e76d4b9f101a9f569c581065147ab71100ed7792af2f78c"` [INFO] running `"docker" "rm" "-f" "64043d14966d3abe4e76d4b9f101a9f569c581065147ab71100ed7792af2f78c"` [INFO] [stdout] 64043d14966d3abe4e76d4b9f101a9f569c581065147ab71100ed7792af2f78c