[INFO] cloning repository https://github.com/shezu/RustPractice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shezu/RustPractice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshezu%2FRustPractice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshezu%2FRustPractice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 127fab901464c9062e079db7e6edeeec633238a3 [INFO] checking shezu/RustPractice against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshezu%2FRustPractice" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shezu/RustPractice on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shezu/RustPractice [INFO] finished tweaking git repo https://github.com/shezu/RustPractice [INFO] tweaked toml for git repo https://github.com/shezu/RustPractice written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/shezu/RustPractice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d2730919847d17fc5ac84bc38c9661ec7485c5e7a70721e6be2c6e2737fa78b [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" "3d2730919847d17fc5ac84bc38c9661ec7485c5e7a70721e6be2c6e2737fa78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d2730919847d17fc5ac84bc38c9661ec7485c5e7a70721e6be2c6e2737fa78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d2730919847d17fc5ac84bc38c9661ec7485c5e7a70721e6be2c6e2737fa78b", kill_on_drop: false }` [INFO] [stdout] 3d2730919847d17fc5ac84bc38c9661ec7485c5e7a70721e6be2c6e2737fa78b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb7d03a9dea150d0d643931d78cf77f06c8fa06c731e693ada69191b1b0323dc [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" "cb7d03a9dea150d0d643931d78cf77f06c8fa06c731e693ada69191b1b0323dc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking assignment_29_dec_19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BookInformation` [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use traits::{Book,BookInformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a_minus_b` is never read [INFO] [stdout] --> src/euclidean_distance.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut a_minus_b: isize = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_string_characters` [INFO] [stdout] --> src/count_chars.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn check_string_characters(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_stars` [INFO] [stdout] --> src/print_stars_pattern.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print_stars(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_numbers` [INFO] [stdout] --> src/add_up_numbers.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_numbers(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_distance_in_dates` [INFO] [stdout] --> src/dates.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_distance_in_dates(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Coordinates` [INFO] [stdout] --> src/euclidean_distance.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Coordinates { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_distance` [INFO] [stdout] --> src/euclidean_distance.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_distance() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_a_minus_b` [INFO] [stdout] --> src/euclidean_distance.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn calculate_a_minus_b(a: isize, b: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `palindrome` [INFO] [stdout] --> src/palindrome_checker.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn palindrome() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BookInformation` [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use traits::{Book,BookInformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repetitively` [INFO] [stdout] --> src/repetitive_string.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn repetitively(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a_minus_b` is never read [INFO] [stdout] --> src/euclidean_distance.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut a_minus_b: isize = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_hypotenus` [INFO] [stdout] --> src/generics.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn calculate_hypotenus(&self) -> T{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closures` [INFO] [stdout] --> src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn closures(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_string_characters` [INFO] [stdout] --> src/count_chars.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn check_string_characters(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_stars` [INFO] [stdout] --> src/print_stars_pattern.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print_stars(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_numbers` [INFO] [stdout] --> src/add_up_numbers.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_numbers(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_distance_in_dates` [INFO] [stdout] --> src/dates.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_distance_in_dates(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Coordinates` [INFO] [stdout] --> src/euclidean_distance.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Coordinates { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_distance` [INFO] [stdout] --> src/euclidean_distance.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_distance() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_a_minus_b` [INFO] [stdout] --> src/euclidean_distance.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn calculate_a_minus_b(a: isize, b: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `palindrome` [INFO] [stdout] --> src/palindrome_checker.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn palindrome() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repetitively` [INFO] [stdout] --> src/repetitive_string.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn repetitively(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_hypotenus` [INFO] [stdout] --> src/generics.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn calculate_hypotenus(&self) -> T{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closures` [INFO] [stdout] --> src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn closures(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.30s [INFO] running `Command { std: "docker" "inspect" "cb7d03a9dea150d0d643931d78cf77f06c8fa06c731e693ada69191b1b0323dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7d03a9dea150d0d643931d78cf77f06c8fa06c731e693ada69191b1b0323dc", kill_on_drop: false }` [INFO] [stdout] cb7d03a9dea150d0d643931d78cf77f06c8fa06c731e693ada69191b1b0323dc