[INFO] cloning repository https://github.com/matpdev/algorithms-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matpdev/algorithms-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatpdev%2Falgorithms-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatpdev%2Falgorithms-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfbb9c87487eef3a934bc7506a35b78d009cb282 [INFO] checking matpdev/algorithms-rust against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatpdev%2Falgorithms-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matpdev/algorithms-rust [INFO] finished tweaking git repo https://github.com/matpdev/algorithms-rust [INFO] tweaked toml for git repo https://github.com/matpdev/algorithms-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matpdev/algorithms-rust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matpdev/algorithms-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5f804cdd97381a920a9df84419f322a239918c57e0e0e5e51f9ab977f7a6961 [INFO] running `Command { std: "docker" "start" "-a" "c5f804cdd97381a920a9df84419f322a239918c57e0e0e5e51f9ab977f7a6961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5f804cdd97381a920a9df84419f322a239918c57e0e0e5e51f9ab977f7a6961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f804cdd97381a920a9df84419f322a239918c57e0e0e5e51f9ab977f7a6961", kill_on_drop: false }` [INFO] [stdout] c5f804cdd97381a920a9df84419f322a239918c57e0e0e5e51f9ab977f7a6961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7a99aa662bf5463c9276553c3dd4d2a7472df8a05fea76a59d37c0cc5bbdb3 [INFO] running `Command { std: "docker" "start" "-a" "9b7a99aa662bf5463c9276553c3dd4d2a7472df8a05fea76a59d37c0cc5bbdb3", kill_on_drop: false }` [INFO] [stderr] Checking proj17 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bubble_sort::print_bubble` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::bubble_sort::print_bubble; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cocktail_sort::print_cocktail` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cocktail_sort::print_cocktail; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::comb_sort::print_comb` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::comb_sort::print_comb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::morse_code::print_word_morse` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::morse_code::print_word_morse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::caesar_crypt::print_caesar` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::caesar_crypt::print_caesar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bubble_sort::print_bubble` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::bubble_sort::print_bubble; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cocktail_sort::print_cocktail` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cocktail_sort::print_cocktail; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::comb_sort::print_comb` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::comb_sort::print_comb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::morse_code::print_word_morse` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::morse_code::print_word_morse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::caesar_crypt::print_caesar` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::caesar_crypt::print_caesar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bubble` is never used [INFO] [stdout] --> src/bubble_sort.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn print_bubble() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cocktail` is never used [INFO] [stdout] --> src/cocktail_sort.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn print_cocktail() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_comb` is never used [INFO] [stdout] --> src/comb_sort.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn print_comb() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_word_morse` is never used [INFO] [stdout] --> src/morse_code.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_word_morse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar` is never used [INFO] [stdout] --> src/caesar_crypt.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn caesar(cipher: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_caesar` is never used [INFO] [stdout] --> src/caesar_crypt.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn print_caesar() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> src/bubble_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn bubble_sort(arr: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bubble` is never used [INFO] [stdout] --> src/bubble_sort.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn print_bubble() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cocktail_shaker_sort` is never used [INFO] [stdout] --> src/cocktail_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn cocktail_shaker_sort(arr: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cocktail` is never used [INFO] [stdout] --> src/cocktail_sort.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn print_cocktail() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comb_sort` is never used [INFO] [stdout] --> src/comb_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn comb_sort(arr: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_comb` is never used [INFO] [stdout] --> src/comb_sort.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn print_comb() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNKNOWN_CHARACTER` is never used [INFO] [stdout] --> src/morse_code.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const UNKNOWN_CHARACTER: &str = "........"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/morse_code.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn encode(message: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/morse_code.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn decode(string: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_word_morse` is never used [INFO] [stdout] --> src/morse_code.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_word_morse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar` is never used [INFO] [stdout] --> src/caesar_crypt.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn caesar(cipher: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_caesar` is never used [INFO] [stdout] --> src/caesar_crypt.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn print_caesar() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "9b7a99aa662bf5463c9276553c3dd4d2a7472df8a05fea76a59d37c0cc5bbdb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7a99aa662bf5463c9276553c3dd4d2a7472df8a05fea76a59d37c0cc5bbdb3", kill_on_drop: false }` [INFO] [stdout] 9b7a99aa662bf5463c9276553c3dd4d2a7472df8a05fea76a59d37c0cc5bbdb3