[INFO] cloning repository https://github.com/cwmoo740/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/cwmoo740/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmoo740%2Frust-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmoo740%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2019c3724eee1ed27fa2e5a97c9f0e4629111500 [INFO] testing cwmoo740/rust-practice against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmoo740%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/cwmoo740/rust-practice on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cwmoo740/rust-practice [INFO] finished tweaking git repo https://github.com/cwmoo740/rust-practice [INFO] tweaked toml for git repo https://github.com/cwmoo740/rust-practice written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/cwmoo740/rust-practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", 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] d093dfc0ef4baab5a81d10ba8ca141aa0b3e8ff32e8ba3d703af9ee8bca83bc0 [INFO] running `Command { std: "docker" "start" "-a" "d093dfc0ef4baab5a81d10ba8ca141aa0b3e8ff32e8ba3d703af9ee8bca83bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d093dfc0ef4baab5a81d10ba8ca141aa0b3e8ff32e8ba3d703af9ee8bca83bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d093dfc0ef4baab5a81d10ba8ca141aa0b3e8ff32e8ba3d703af9ee8bca83bc0", kill_on_drop: false }` [INFO] [stdout] d093dfc0ef4baab5a81d10ba8ca141aa0b3e8ff32e8ba3d703af9ee8bca83bc0 [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 715a0792d2c990390454d2f7ad9b63d708d36321569833b9d865abef707c599d [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" "715a0792d2c990390454d2f7ad9b63d708d36321569833b9d865abef707c599d", kill_on_drop: false }` [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cracking_coding/permutations_in_string.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 27 - None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] 27 + None => panic!("character {} not in alphabet", ch) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "715a0792d2c990390454d2f7ad9b63d708d36321569833b9d865abef707c599d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715a0792d2c990390454d2f7ad9b63d708d36321569833b9d865abef707c599d", kill_on_drop: false }` [INFO] [stdout] 715a0792d2c990390454d2f7ad9b63d708d36321569833b9d865abef707c599d [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 848ac16c99e3fc6d6057666eedb8243d2b7846c4b3e9e8421e3f194eaee798ef [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" "848ac16c99e3fc6d6057666eedb8243d2b7846c4b3e9e8421e3f194eaee798ef", 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] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cracking_coding/permutations_in_string.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 27 - None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] 27 + None => panic!("character {} not in alphabet", ch) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cracking_coding/permutations_in_string.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 27 - None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] 27 + None => panic!("character {} not in alphabet", ch) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "848ac16c99e3fc6d6057666eedb8243d2b7846c4b3e9e8421e3f194eaee798ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848ac16c99e3fc6d6057666eedb8243d2b7846c4b3e9e8421e3f194eaee798ef", kill_on_drop: false }` [INFO] [stdout] 848ac16c99e3fc6d6057666eedb8243d2b7846c4b3e9e8421e3f194eaee798ef [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f99afb8a14be740a2cc3ac36e063cef836575946464fcecea44c8e20ec6019aa [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" "f99afb8a14be740a2cc3ac36e063cef836575946464fcecea44c8e20ec6019aa", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 22 tests [INFO] [stderr] --> src/cracking_coding/permutations_in_string.rs:27:28 [INFO] [stdout] test cracking_coding::elements_in_common::tests::test_simple ... ok [INFO] [stderr] | [INFO] [stdout] test cracking_coding::permutations_in_string::tests::example ... ok [INFO] [stderr] 27 | None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] test cracking_coding::elements_in_common::tests::test_complex ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test cracking_coding::permutations_in_string::tests::simple_example ... ok [INFO] [stderr] | [INFO] [stdout] test cracking_coding::permutations_in_string::tests::test_create_pattern_hash ... ok [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] test cracking_coding::elements_in_common::tests::test_zero ... ok [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] test leetcode::repeated_string_match::tests::test_simple ... ok [INFO] [stderr] = note: for more information, see [INFO] [stdout] test scheduling::tests::one_job ... ok [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] test scheduling::tests::real_test ... ok [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stdout] test merge_sort::tests::merge_simple ... ok [INFO] [stderr] | [INFO] [stdout] test scheduling::tests::simple_test ... ok [INFO] [stderr] 27 - None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] test stock_picking::tests::impossible_case ... ok [INFO] [stderr] 27 + None => panic!("character {} not in alphabet", ch) [INFO] [stdout] test stock_picking::tests::another_simple_case ... ok [INFO] [stderr] | [INFO] [stdout] test merge_sort::tests::simple_case ... ok [INFO] [stderr] [INFO] [stdout] test scheduling::tests::zero_jobs ... ok [INFO] [stderr] warning: `rust_practice` (lib) generated 1 warning [INFO] [stdout] test stock_picking::tests::simple_case ... ok [INFO] [stderr] warning: `rust_practice` (lib test) generated 1 warning (1 duplicate) [INFO] [stdout] test cracking_coding::permutations_in_string::tests::zero_items ... ok [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] test merge_sort::tests::sort_two_items ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_practice-17372b3b7ce9c84f) [INFO] [stdout] test merge_sort::tests::zero_items ... ok [INFO] [stdout] test stock_picking::tests::zero_stocks ... ok [INFO] [stdout] test leetcode::repeated_string_match::tests::test_impossible ... ok [INFO] [stderr] Doc-tests rust_practice [INFO] [stdout] test merge_sort::tests::sort_one_item ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/leetcode/repeated_string_match.rs - leetcode::repeated_string_match::solve (line 6) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f99afb8a14be740a2cc3ac36e063cef836575946464fcecea44c8e20ec6019aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99afb8a14be740a2cc3ac36e063cef836575946464fcecea44c8e20ec6019aa", kill_on_drop: false }` [INFO] [stdout] f99afb8a14be740a2cc3ac36e063cef836575946464fcecea44c8e20ec6019aa