[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollinValley%2Frust_practice" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CollinValley/rust_practice on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-1/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d208c39caede1c99d562ac8fefa521bf9acf0f71fef463d45118f85169cfe66a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d208c39caede1c99d562ac8fefa521bf9acf0f71fef463d45118f85169cfe66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d208c39caede1c99d562ac8fefa521bf9acf0f71fef463d45118f85169cfe66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d208c39caede1c99d562ac8fefa521bf9acf0f71fef463d45118f85169cfe66a", kill_on_drop: false }` [INFO] [stdout] d208c39caede1c99d562ac8fefa521bf9acf0f71fef463d45118f85169cfe66a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3689f2ca5a35ebf667019d1a7f4b5d1628a4af9797a1e82eda01dde0d1312164 [INFO] running `Command { std: "docker" "start" "-a" "3689f2ca5a35ebf667019d1a7f4b5d1628a4af9797a1e82eda01dde0d1312164", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational 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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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 7.27s [INFO] running `Command { std: "docker" "inspect" "3689f2ca5a35ebf667019d1a7f4b5d1628a4af9797a1e82eda01dde0d1312164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3689f2ca5a35ebf667019d1a7f4b5d1628a4af9797a1e82eda01dde0d1312164", kill_on_drop: false }` [INFO] [stdout] 3689f2ca5a35ebf667019d1a7f4b5d1628a4af9797a1e82eda01dde0d1312164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6abd483e41761b390c5e7acd6cb31423440497da5037524412f888a1d51d4576 [INFO] running `Command { std: "docker" "start" "-a" "6abd483e41761b390c5e7acd6cb31423440497da5037524412f888a1d51d4576", 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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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 1.34s [INFO] running `Command { std: "docker" "inspect" "6abd483e41761b390c5e7acd6cb31423440497da5037524412f888a1d51d4576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abd483e41761b390c5e7acd6cb31423440497da5037524412f888a1d51d4576", kill_on_drop: false }` [INFO] [stdout] 6abd483e41761b390c5e7acd6cb31423440497da5037524412f888a1d51d4576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f42659cd387851b83406fcf49947abb7e838fc59538d778ab289091558a1cea5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f42659cd387851b83406fcf49947abb7e838fc59538d778ab289091558a1cea5", 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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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-19764da4acad068e) [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_build_basic_tree ... ok [INFO] [stdout] test chapter_10::test_rough_time_to_english ... ok [INFO] [stdout] test chapter_11::test_min ... ok [INFO] [stdout] test chapter_11::test_say_hello ... 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_10::test_timeunit ... ok [INFO] [stdout] test chapter_11::test_dot ... 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_add_assign ... ok [INFO] [stdout] test chapter_10::test_generic_enums ... 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" "f42659cd387851b83406fcf49947abb7e838fc59538d778ab289091558a1cea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f42659cd387851b83406fcf49947abb7e838fc59538d778ab289091558a1cea5", kill_on_drop: false }` [INFO] [stdout] f42659cd387851b83406fcf49947abb7e838fc59538d778ab289091558a1cea5