[INFO] cloning repository https://github.com/jhoney92021/learningRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhoney92021/learningRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhoney92021%2FlearningRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhoney92021%2FlearningRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 794fe1c065870c9a4d1a4823deb6f6d05939ab92 [INFO] checking jhoney92021/learningRust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhoney92021%2FlearningRust" "/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/jhoney92021/learningRust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jhoney92021/learningRust [INFO] finished tweaking git repo https://github.com/jhoney92021/learningRust [INFO] tweaked toml for git repo https://github.com/jhoney92021/learningRust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jhoney92021/learningRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85c952810ca35b630ee80a5dcbf268e882f53919e05a9d2f2d65c804b9be2d24 [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" "85c952810ca35b630ee80a5dcbf268e882f53919e05a9d2f2d65c804b9be2d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85c952810ca35b630ee80a5dcbf268e882f53919e05a9d2f2d65c804b9be2d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c952810ca35b630ee80a5dcbf268e882f53919e05a9d2f2d65c804b9be2d24", kill_on_drop: false }` [INFO] [stdout] 85c952810ca35b630ee80a5dcbf268e882f53919e05a9d2f2d65c804b9be2d24 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb0ecbaf4618a040fad38a4de28d201296cdfed527ac57becd77de57bcd23dd [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" "1eb0ecbaf4618a040fad38a4de28d201296cdfed527ac57becd77de57bcd23dd", kill_on_drop: false }` [INFO] [stderr] Checking consoleRPG v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `samurai` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let samurai = player::PlayerClass::new("Samurai".to_string(), 10, 10, 6, 30); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samurai` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut jhoney = player::Human::new("JHoney".to_string(), 0 as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut jwiz = player::Human::new("JWiz".to_string(), 2 as usize); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut jsam = player::Human::new("JSam".to_string(), 1 as usize); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `consoleRPG` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `console_rpg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `printStats` should have a snake case name [INFO] [stdout] --> src/player.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn printStats(&self) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samurai` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let samurai = player::PlayerClass::new("Samurai".to_string(), 10, 10, 6, 30); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samurai` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut jhoney = player::Human::new("JHoney".to_string(), 0 as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut jwiz = player::Human::new("JWiz".to_string(), 2 as usize); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut jsam = player::Human::new("JSam".to_string(), 1 as usize); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `consoleRPG` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `console_rpg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `printStats` should have a snake case name [INFO] [stdout] --> src/player.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn printStats(&self) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "1eb0ecbaf4618a040fad38a4de28d201296cdfed527ac57becd77de57bcd23dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb0ecbaf4618a040fad38a4de28d201296cdfed527ac57becd77de57bcd23dd", kill_on_drop: false }` [INFO] [stdout] 1eb0ecbaf4618a040fad38a4de28d201296cdfed527ac57becd77de57bcd23dd