[INFO] cloning repository https://github.com/CollinValley/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CollinValley/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollinValley%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollinValley%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f43ee9bf1397a7e46b78a5a03bc6811988dfc58f [INFO] testing CollinValley/rust_practice against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollinValley%2Frust_practice" "/workspace/builds/worker-64/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CollinValley/rust_practice on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CollinValley/rust_practice [INFO] finished tweaking git repo https://github.com/CollinValley/rust_practice [INFO] tweaked toml for git repo https://github.com/CollinValley/rust_practice written to /workspace/builds/worker-64/source/Cargo.toml [INFO] crate git repo https://github.com/CollinValley/rust_practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62cb23a191f28d6eac9149a9ee18ea8c9f6da318045cbf2c6c0bac07c9c9e6cc [INFO] running `Command { std: "docker" "start" "-a" "62cb23a191f28d6eac9149a9ee18ea8c9f6da318045cbf2c6c0bac07c9c9e6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62cb23a191f28d6eac9149a9ee18ea8c9f6da318045cbf2c6c0bac07c9c9e6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62cb23a191f28d6eac9149a9ee18ea8c9f6da318045cbf2c6c0bac07c9c9e6cc", kill_on_drop: false }` [INFO] [stdout] 62cb23a191f28d6eac9149a9ee18ea8c9f6da318045cbf2c6c0bac07c9c9e6cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e619c9283369bb3fce32c45dbf3d5127097313465c535460948cfca238cd570d [INFO] running `Command { std: "docker" "start" "-a" "e619c9283369bb3fce32c45dbf3d5127097313465c535460948cfca238cd570d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chapter_11.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] 6 + fn say_hello(out: &mut dyn Write) -> std::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/chapter_10.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | self.plural().trim_right_matches('s') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Extrema` [INFO] [stdout] --> src/chapter_9.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | struct Extrema<'elt> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_extrema` [INFO] [stdout] --> src/chapter_9.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn find_extrema<'s>(slice: &'s [i32]) -> Extrema<'s> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `say_hello` [INFO] [stdout] --> src/chapter_11.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min` [INFO] [stdout] --> src/chapter_11.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn min(value1: T, value2: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot` [INFO] [stdout] --> src/chapter_11.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn dot(v1: &[N], v2: &[N]) -> N [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.67s [INFO] running `Command { std: "docker" "inspect" "e619c9283369bb3fce32c45dbf3d5127097313465c535460948cfca238cd570d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e619c9283369bb3fce32c45dbf3d5127097313465c535460948cfca238cd570d", kill_on_drop: false }` [INFO] [stdout] e619c9283369bb3fce32c45dbf3d5127097313465c535460948cfca238cd570d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42d0684cdd8c81194d27804976ca6d307b4874662d8c8a0cc7327d357009e361 [INFO] running `Command { std: "docker" "start" "-a" "42d0684cdd8c81194d27804976ca6d307b4874662d8c8a0cc7327d357009e361", kill_on_drop: false }` [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chapter_11.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] 6 + fn say_hello(out: &mut dyn Write) -> std::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/chapter_10.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | self.plural().trim_right_matches('s') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "42d0684cdd8c81194d27804976ca6d307b4874662d8c8a0cc7327d357009e361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d0684cdd8c81194d27804976ca6d307b4874662d8c8a0cc7327d357009e361", kill_on_drop: false }` [INFO] [stdout] 42d0684cdd8c81194d27804976ca6d307b4874662d8c8a0cc7327d357009e361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5274f41cf8f55f6a387e8e4f8a98b3969e1d2b2076594d91e354b77bafe12d2c [INFO] running `Command { std: "docker" "start" "-a" "5274f41cf8f55f6a387e8e4f8a98b3969e1d2b2076594d91e354b77bafe12d2c", kill_on_drop: false }` [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] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stderr] 6 + fn say_hello(out: &mut dyn Write) -> std::io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 associated function: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_practice` (bin "rust_practice" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_practice-a6b507ed9e85c5ac) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test chapter_10::test_add_and_search_binary_tree ... ok [INFO] [stdout] test chapter_10::test_timeunit ... ok [INFO] [stdout] test chapter_11::test_say_hello ... ok [INFO] [stdout] test chapter_12::test_add_assign ... ok [INFO] [stdout] test chapter_10::test_generic_enums ... ok [INFO] [stdout] test chapter_12::test_complex_add ... 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_11::test_min ... 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_11::test_dot ... 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] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5274f41cf8f55f6a387e8e4f8a98b3969e1d2b2076594d91e354b77bafe12d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5274f41cf8f55f6a387e8e4f8a98b3969e1d2b2076594d91e354b77bafe12d2c", kill_on_drop: false }` [INFO] [stdout] 5274f41cf8f55f6a387e8e4f8a98b3969e1d2b2076594d91e354b77bafe12d2c