[INFO] cloning repository https://github.com/maryjanyes/Rust.practice1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maryjanyes/Rust.practice1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaryjanyes%2FRust.practice1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaryjanyes%2FRust.practice1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3db060343669656cdc172a6d3c6bae03733e423 [INFO] checking maryjanyes/Rust.practice1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaryjanyes%2FRust.practice1" "/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/maryjanyes/Rust.practice1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maryjanyes/Rust.practice1 [INFO] finished tweaking git repo https://github.com/maryjanyes/Rust.practice1 [INFO] tweaked toml for git repo https://github.com/maryjanyes/Rust.practice1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/maryjanyes/Rust.practice1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 233f2ab755aa64951fd01680724ae8462b37fe4b666acef15c082e154e6bf545 [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" "233f2ab755aa64951fd01680724ae8462b37fe4b666acef15c082e154e6bf545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "233f2ab755aa64951fd01680724ae8462b37fe4b666acef15c082e154e6bf545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233f2ab755aa64951fd01680724ae8462b37fe4b666acef15c082e154e6bf545", kill_on_drop: false }` [INFO] [stdout] 233f2ab755aa64951fd01680724ae8462b37fe4b666acef15c082e154e6bf545 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c21f39563cf0ab0c832b903833cc86f4c6f1572b13f5e446dc0541a0d0cc9f90 [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" "c21f39563cf0ab0c832b903833cc86f4c6f1572b13f5e446dc0541a0d0cc9f90", kill_on_drop: false }` [INFO] [stderr] Checking quiz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `quiz_configs::questions as quiz_questions` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use quiz_configs::questions as quiz_questions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | while (i < 10) { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coficients` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let coficients = (0.1, 0.5); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coficients` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `questions` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let questions = Questions(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_questions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `questions` [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_questions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answers` [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_answers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coficients` [INFO] [stdout] --> src/main.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coficients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_quiz` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `my_question1` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub const my_question1: &str = "I am a pub_question1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `my_question2` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub const my_question2: &str = "I am a pub_question2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_question1` should have an upper case name [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub const my_question1: &str = "I am a pub_question1"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MY_QUESTION1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_question2` should have an upper case name [INFO] [stdout] --> src/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub const my_question2: &str = "I am a pub_question2"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MY_QUESTION2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_answer1` should have an upper case name [INFO] [stdout] --> src/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub const my_answer1: &str = "I am a pub_answer1"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `MY_ANSWER1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_answer2` should have an upper case name [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub const my_answer2: &str = "I am a pub_answer2"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `MY_ANSWER2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quiz_configs::questions as quiz_questions` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use quiz_configs::questions as quiz_questions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | while (i < 10) { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coficients` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let coficients = (0.1, 0.5); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coficients` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `questions` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let questions = Questions(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_questions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `questions` [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_questions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answers` [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_answers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coficients` [INFO] [stdout] --> src/main.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coficients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_quiz` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn run_quiz(questions: I, answers: I, coficients: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `my_question1` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub const my_question1: &str = "I am a pub_question1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `my_question2` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub const my_question2: &str = "I am a pub_question2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_question1` should have an upper case name [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub const my_question1: &str = "I am a pub_question1"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MY_QUESTION1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_question2` should have an upper case name [INFO] [stdout] --> src/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub const my_question2: &str = "I am a pub_question2"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MY_QUESTION2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_answer1` should have an upper case name [INFO] [stdout] --> src/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub const my_answer1: &str = "I am a pub_answer1"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `MY_ANSWER1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `my_answer2` should have an upper case name [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub const my_answer2: &str = "I am a pub_answer2"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `MY_ANSWER2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "c21f39563cf0ab0c832b903833cc86f4c6f1572b13f5e446dc0541a0d0cc9f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21f39563cf0ab0c832b903833cc86f4c6f1572b13f5e446dc0541a0d0cc9f90", kill_on_drop: false }` [INFO] [stdout] c21f39563cf0ab0c832b903833cc86f4c6f1572b13f5e446dc0541a0d0cc9f90