[INFO] cloning repository https://github.com/lusamreth/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lusamreth/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e20a2c8d82dffd0020d733df01c29617bc9d458 [INFO] checking lusamreth/rust-learning against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusamreth%2Frust-learning" "/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/lusamreth/rust-learning 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/lusamreth/rust-learning [INFO] finished tweaking git repo https://github.com/lusamreth/rust-learning [INFO] tweaked toml for git repo https://github.com/lusamreth/rust-learning written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/lusamreth/rust-learning 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-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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 594b081d124658a13ac410cef3343f10f0e3fe465b4a0db464e5f021e9b54889 [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" "594b081d124658a13ac410cef3343f10f0e3fe465b4a0db464e5f021e9b54889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "594b081d124658a13ac410cef3343f10f0e3fe465b4a0db464e5f021e9b54889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594b081d124658a13ac410cef3343f10f0e3fe465b4a0db464e5f021e9b54889", kill_on_drop: false }` [INFO] [stdout] 594b081d124658a13ac410cef3343f10f0e3fe465b4a0db464e5f021e9b54889 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b4044598070b025d42421d3e62ece36b258a529421ae77a4759acd717ef1ef [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" "d5b4044598070b025d42421d3e62ece36b258a529421ae77a4759acd717ef1ef", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking Cpx1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::structure::shop` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::structure::shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::shop` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::structure::shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half` [INFO] [stdout] --> src/structure.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let half = point_array.len() / 2; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_half` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_array` [INFO] [stdout] --> src/structure.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut line_array: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/interface.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | for (i, app) in appshop.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_inventory` [INFO] [stdout] --> src/interface.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let new_inventory = shop::Inventory { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_inventory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structure.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut line_array: Vec = Vec::new(); [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: unused variable: `half` [INFO] [stdout] --> src/structure.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let half = point_array.len() / 2; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_half` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_array` [INFO] [stdout] --> src/structure.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut line_array: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/interface.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | for (i, app) in appshop.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_inventory` [INFO] [stdout] --> src/interface.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let new_inventory = shop::Inventory { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_inventory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lifetime.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut bum :&i32; [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/structure.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut line_array: Vec = Vec::new(); [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: crate `Cpx1` 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: `cpx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Wordsliced` should have a snake case name [INFO] [stdout] --> src/ownership.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let Wordsliced = word.as_bytes(); // convert to ASCII code; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `wordsliced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Exchange_Usa` should have a snake case name [INFO] [stdout] --> src/structure.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn Exchange_Usa(money: f64, curr: Currency) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `exchange_usa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DollarCountries` should have a snake case name [INFO] [stdout] --> src/structure.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | Currency::Dollar(DollarCountries) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dollar_countries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lifetime.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut bum :&i32; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Cpx1` 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: `cpx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Wordsliced` should have a snake case name [INFO] [stdout] --> src/ownership.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let Wordsliced = word.as_bytes(); // convert to ASCII code; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `wordsliced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Exchange_Usa` should have a snake case name [INFO] [stdout] --> src/structure.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn Exchange_Usa(money: f64, curr: Currency) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `exchange_usa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DollarCountries` should have a snake case name [INFO] [stdout] --> src/structure.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | Currency::Dollar(DollarCountries) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dollar_countries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.92s [INFO] running `Command { std: "docker" "inspect" "d5b4044598070b025d42421d3e62ece36b258a529421ae77a4759acd717ef1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b4044598070b025d42421d3e62ece36b258a529421ae77a4759acd717ef1ef", kill_on_drop: false }` [INFO] [stdout] d5b4044598070b025d42421d3e62ece36b258a529421ae77a4759acd717ef1ef