[INFO] cloning repository https://github.com/Shiv0r/LearnRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shiv0r/LearnRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiv0r%2FLearnRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiv0r%2FLearnRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6f77b0a2855ac81ac51efe9b5d9ea15cc63b620 [INFO] checking Shiv0r/LearnRust against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiv0r%2FLearnRust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Shiv0r/LearnRust [INFO] finished tweaking git repo https://github.com/Shiv0r/LearnRust [INFO] tweaked toml for git repo https://github.com/Shiv0r/LearnRust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Shiv0r/LearnRust on toolchain 63132bd615c9bf75e93af8405d00064212331708 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Shiv0r/LearnRust 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" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 375945b49bea936241837ea945695a8f59cdae5d273c225612abcd8170f5140b [INFO] running `Command { std: "docker" "start" "-a" "375945b49bea936241837ea945695a8f59cdae5d273c225612abcd8170f5140b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375945b49bea936241837ea945695a8f59cdae5d273c225612abcd8170f5140b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375945b49bea936241837ea945695a8f59cdae5d273c225612abcd8170f5140b", kill_on_drop: false }` [INFO] [stdout] 375945b49bea936241837ea945695a8f59cdae5d273c225612abcd8170f5140b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb5b4b876d2d386cdf2903feaad31f621f97df2da703111eeb8b5934b9c7c8ee [INFO] running `Command { std: "docker" "start" "-a" "bb5b4b876d2d386cdf2903feaad31f621f97df2da703111eeb8b5934b9c7c8ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking contact_fomular v0.1.0 (/opt/rustwide/workdir/contact_fomular) [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir/hello_cargo) [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir/hello_world) [INFO] [stdout] warning: unused import: `crate::user::*` [INFO] [stdout] --> contact_fomular/src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::user::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::input::*` [INFO] [stdout] --> contact_fomular/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user::*` [INFO] [stdout] --> contact_fomular/src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::user::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::input::*` [INFO] [stdout] --> contact_fomular/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Id`, `Age`, `Street`, `PostalCode`, `City`, and `County` are never constructed [INFO] [stdout] --> contact_fomular/src/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum DataSelector<'a> { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | Id(&'a str), [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Name(&'a str), [INFO] [stdout] 12 | Age(u8), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Street(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | PostalCode(u16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | City(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | County(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data_id`, `get_data_age`, `get_data_street`, `get_data_postal_code`, and `get_data_city` are never used [INFO] [stdout] --> contact_fomular/src/user.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl UserData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 28 | pub fn get_data_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_data_age(&self) -> &u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_data_street(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_data_postal_code(&self) -> &u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_data_city(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeSelector` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u8_validate`, `u16_validate`, `string_validate`, and `exit_loop` are never used [INFO] [stdout] --> contact_fomular/src/input.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl TypeSelector<'_> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 17 | fn u8_validate<'a>(&self, message: &'a str) -> TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn u16_validate<'a>(&self, message: &'a str) -> TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn string_validate<'a>(&self, message: &'a str) -> TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn exit_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_data_string` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn input_data_string(message: &str, input_data: &mut String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_data_u8` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn input_data_u8(message: &str, input_data: &mut String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_data_u16` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn input_data_u16(message: &str, input_data: &mut String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Id`, `Age`, `Street`, `PostalCode`, `City`, and `County` are never constructed [INFO] [stdout] --> contact_fomular/src/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum DataSelector<'a> { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | Id(&'a str), [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Name(&'a str), [INFO] [stdout] 12 | Age(u8), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Street(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | PostalCode(u16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | City(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | County(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_data_id`, `get_data_age`, `get_data_street`, `get_data_postal_code`, and `get_data_city` are never used [INFO] [stdout] --> contact_fomular/src/user.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl UserData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 28 | pub fn get_data_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_data_age(&self) -> &u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_data_street(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_data_postal_code(&self) -> &u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_data_city(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeSelector` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u8_validate`, `u16_validate`, `string_validate`, and `exit_loop` are never used [INFO] [stdout] --> contact_fomular/src/input.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl TypeSelector<'_> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 17 | fn u8_validate<'a>(&self, message: &'a str) -> TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn u16_validate<'a>(&self, message: &'a str) -> TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn string_validate<'a>(&self, message: &'a str) -> TypeSelector<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn exit_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_data_string` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn input_data_string(message: &str, input_data: &mut String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_data_u8` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn input_data_u8(message: &str, input_data: &mut String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_data_u16` is never used [INFO] [stdout] --> contact_fomular/src/input.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn input_data_u16(message: &str, input_data: &mut String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking LearnRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/rustwide/workdir/guessing_game) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "bb5b4b876d2d386cdf2903feaad31f621f97df2da703111eeb8b5934b9c7c8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5b4b876d2d386cdf2903feaad31f621f97df2da703111eeb8b5934b9c7c8ee", kill_on_drop: false }` [INFO] [stdout] bb5b4b876d2d386cdf2903feaad31f621f97df2da703111eeb8b5934b9c7c8ee