[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 master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmoo740%2Frust-practice" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cwmoo740/rust-practice on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-12/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db4a61c81e454a37e9db7b0bd7f796c454b9692744056ba966951011da27ac8c [INFO] running `Command { std: "docker" "start" "-a" "db4a61c81e454a37e9db7b0bd7f796c454b9692744056ba966951011da27ac8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db4a61c81e454a37e9db7b0bd7f796c454b9692744056ba966951011da27ac8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db4a61c81e454a37e9db7b0bd7f796c454b9692744056ba966951011da27ac8c", kill_on_drop: false }` [INFO] [stdout] db4a61c81e454a37e9db7b0bd7f796c454b9692744056ba966951011da27ac8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 033084f4bc0be9ea5478e7ea8e508833d7191086870bb59818e8c9b821e40c50 [INFO] running `Command { std: "docker" "start" "-a" "033084f4bc0be9ea5478e7ea8e508833d7191086870bb59818e8c9b821e40c50", 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!("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 0.77s [INFO] running `Command { std: "docker" "inspect" "033084f4bc0be9ea5478e7ea8e508833d7191086870bb59818e8c9b821e40c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033084f4bc0be9ea5478e7ea8e508833d7191086870bb59818e8c9b821e40c50", kill_on_drop: false }` [INFO] [stdout] 033084f4bc0be9ea5478e7ea8e508833d7191086870bb59818e8c9b821e40c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54476f6740dd67698b6449e13bb75686b7d15f0fca9bf7d1c66a965af7cdb72 [INFO] running `Command { std: "docker" "start" "-a" "f54476f6740dd67698b6449e13bb75686b7d15f0fca9bf7d1c66a965af7cdb72", kill_on_drop: false }` [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!("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!("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.12s [INFO] running `Command { std: "docker" "inspect" "f54476f6740dd67698b6449e13bb75686b7d15f0fca9bf7d1c66a965af7cdb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54476f6740dd67698b6449e13bb75686b7d15f0fca9bf7d1c66a965af7cdb72", kill_on_drop: false }` [INFO] [stdout] f54476f6740dd67698b6449e13bb75686b7d15f0fca9bf7d1c66a965af7cdb72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99763220c532f7e8452a423592d8c2ae74ba94839fd1e443cdada1eb1576007a [INFO] running `Command { std: "docker" "start" "-a" "99763220c532f7e8452a423592d8c2ae74ba94839fd1e443cdada1eb1576007a", 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_complex ... ok [INFO] [stderr] | [INFO] [stdout] test cracking_coding::elements_in_common::tests::test_simple ... ok [INFO] [stderr] 27 | None => panic!(format!("character {} not in alphabet", ch)) [INFO] [stdout] test cracking_coding::permutations_in_string::tests::simple_example ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test cracking_coding::permutations_in_string::tests::zero_items ... ok [INFO] [stderr] | [INFO] [stdout] test leetcode::repeated_string_match::tests::test_impossible ... ok [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] test merge_sort::tests::sort_one_item ... ok [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] test merge_sort::tests::zero_items ... 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 scheduling::tests::simple_test ... ok [INFO] [stderr] | [INFO] [stdout] test stock_picking::tests::another_simple_case ... ok [INFO] [stderr] 27 | None => panic!("character {} not in alphabet", ch) [INFO] [stdout] test stock_picking::tests::impossible_case ... ok [INFO] [stderr] | -- -- [INFO] [stdout] test stock_picking::tests::zero_stocks ... ok [INFO] [stderr] [INFO] [stdout] test scheduling::tests::zero_jobs ... ok [INFO] [stderr] warning: `rust_practice` (lib) generated 1 warning [INFO] [stdout] test leetcode::repeated_string_match::tests::test_simple ... ok [INFO] [stderr] warning: `rust_practice` (lib test) generated 1 warning (1 duplicate) [INFO] [stdout] test cracking_coding::elements_in_common::tests::test_zero ... ok [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] test cracking_coding::permutations_in_string::tests::test_create_pattern_hash ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_practice-614ba76c18b123c5) [INFO] [stdout] test cracking_coding::permutations_in_string::tests::example ... ok [INFO] [stdout] test merge_sort::tests::merge_simple ... ok [INFO] [stdout] test merge_sort::tests::sort_two_items ... ok [INFO] [stdout] test merge_sort::tests::simple_case ... ok [INFO] [stdout] test stock_picking::tests::simple_case ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_practice [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.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99763220c532f7e8452a423592d8c2ae74ba94839fd1e443cdada1eb1576007a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99763220c532f7e8452a423592d8c2ae74ba94839fd1e443cdada1eb1576007a", kill_on_drop: false }` [INFO] [stdout] 99763220c532f7e8452a423592d8c2ae74ba94839fd1e443cdada1eb1576007a