[INFO] cloning repository https://github.com/ign3u5/RustGuessingGame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ign3u5/RustGuessingGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fign3u5%2FRustGuessingGame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fign3u5%2FRustGuessingGame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a38c0479cb5a67ed799460774db4a4aadbf7c85 [INFO] checking ign3u5/RustGuessingGame against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fign3u5%2FRustGuessingGame" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ign3u5/RustGuessingGame on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ign3u5/RustGuessingGame [INFO] finished tweaking git repo https://github.com/ign3u5/RustGuessingGame [INFO] tweaked toml for git repo https://github.com/ign3u5/RustGuessingGame written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ign3u5/RustGuessingGame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ed50448d4466c42b45910375595f8a3fe6a2bc5250dffd0b2142101b7e224db [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" "9ed50448d4466c42b45910375595f8a3fe6a2bc5250dffd0b2142101b7e224db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ed50448d4466c42b45910375595f8a3fe6a2bc5250dffd0b2142101b7e224db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed50448d4466c42b45910375595f8a3fe6a2bc5250dffd0b2142101b7e224db", kill_on_drop: false }` [INFO] [stdout] 9ed50448d4466c42b45910375595f8a3fe6a2bc5250dffd0b2142101b7e224db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f11d9aaa9e647125c7d0679b1a7de630ac155a46e69aba2a52cc97e8f0cfb4c5 [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" "f11d9aaa9e647125c7d0679b1a7de630ac155a46e69aba2a52cc97e8f0cfb4c5", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking my_first_rust_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = 5; [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: unused variable: `x` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newVector` [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initialisedVector` [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initialisedVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `play` [INFO] [stdout] --> src/guessing_game.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn play() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `welcome_message_builder` [INFO] [stdout] --> src/guessing_game.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn welcome_message_builder(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testing_loops` [INFO] [stdout] --> src/loops.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn testing_loops() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/loops.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn for_loop (arr: &[i32]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_loop` [INFO] [stdout] --> src/loops.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn while_loop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `standard_loop` [INFO] [stdout] --> src/loops.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn standard_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_POINTS` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_POINTS: u32 = 100_000; //Number can be split up using _ for readability [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normal_mut` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn normal_mut() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shadowing` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn shadowing() -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/common_collections.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_concepts` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn some_concepts() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loops` [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn loops() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guessing_game` [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn guessing_game() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initialisedVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialised_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = 5; [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: variable `newMutableVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut newMutableVector = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_mutable_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newVector` [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initialisedVector` [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initialisedVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `play` [INFO] [stdout] --> src/guessing_game.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn play() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `welcome_message_builder` [INFO] [stdout] --> src/guessing_game.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn welcome_message_builder(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testing_loops` [INFO] [stdout] --> src/loops.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn testing_loops() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/loops.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn for_loop (arr: &[i32]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_loop` [INFO] [stdout] --> src/loops.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn while_loop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `standard_loop` [INFO] [stdout] --> src/loops.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn standard_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_POINTS` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_POINTS: u32 = 100_000; //Number can be split up using _ for readability [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normal_mut` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn normal_mut() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shadowing` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn shadowing() -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/common_collections.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_concepts` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn some_concepts() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loops` [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn loops() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guessing_game` [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn guessing_game() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initialisedVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialised_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newMutableVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut newMutableVector = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_mutable_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "f11d9aaa9e647125c7d0679b1a7de630ac155a46e69aba2a52cc97e8f0cfb4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11d9aaa9e647125c7d0679b1a7de630ac155a46e69aba2a52cc97e8f0cfb4c5", kill_on_drop: false }` [INFO] [stdout] f11d9aaa9e647125c7d0679b1a7de630ac155a46e69aba2a52cc97e8f0cfb4c5