[INFO] cloning repository https://github.com/mmm1245/lstme-scm-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmm1245/lstme-scm-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmm1245%2Flstme-scm-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmm1245%2Flstme-scm-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81445a629926452a655dc64e63130723f0c9c1ec [INFO] checking mmm1245/lstme-scm-bot/81445a629926452a655dc64e63130723f0c9c1ec against master#fcac501a73cdde54de46a0683567f1a890730555 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmm1245%2Flstme-scm-bot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmm1245/lstme-scm-bot [INFO] finished tweaking git repo https://github.com/mmm1245/lstme-scm-bot [INFO] tweaked toml for git repo https://github.com/mmm1245/lstme-scm-bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmm1245/lstme-scm-bot on toolchain fcac501a73cdde54de46a0683567f1a890730555 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmm1245/lstme-scm-bot 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" "+fcac501a73cdde54de46a0683567f1a890730555" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unidecode v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6c376ab808f1d1ce4bf048d497575bf971b39801ffd729da5177820e10e9a4a [INFO] running `Command { std: "docker" "start" "-a" "c6c376ab808f1d1ce4bf048d497575bf971b39801ffd729da5177820e10e9a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6c376ab808f1d1ce4bf048d497575bf971b39801ffd729da5177820e10e9a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c376ab808f1d1ce4bf048d497575bf971b39801ffd729da5177820e10e9a4a", kill_on_drop: false }` [INFO] [stdout] c6c376ab808f1d1ce4bf048d497575bf971b39801ffd729da5177820e10e9a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7182426ee1c48fae693b658efdc927f79511cb69d947e1634bca1e1188789853 [INFO] running `Command { std: "docker" "start" "-a" "7182426ee1c48fae693b658efdc927f79511cb69d947e1634bca1e1188789853", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking hra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [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: `std::time::Duration` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `format` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{format, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Awentit` and `Badassium` [INFO] [stdout] --> src/main.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::Element::{Ahmedium, Andymon, Avatar, Awentit, Badassium, Droid, Forcyklat, Javascrypton, Jeep, Kapacitat, Magneton, Mison... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [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: `std::time::Duration` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `format` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{format, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Awentit` and `Badassium` [INFO] [stdout] --> src/main.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::Element::{Ahmedium, Andymon, Avatar, Awentit, Badassium, Droid, Forcyklat, Javascrypton, Jeep, Kapacitat, Magneton, Mison... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 25 | / loop { [INFO] [stdout] 26 | | let time = Instant::now(); [INFO] [stdout] 27 | | for client in &mut clients { [INFO] [stdout] 28 | | client.go_to(Datacentrum); [INFO] [stdout] ... | [INFO] [stdout] 35 | | thread::sleep(Duration::from_millis((10000/* - time.elapsed().as_millis()*/) as u64)); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 37 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 25 | / loop { [INFO] [stdout] 26 | | let time = Instant::now(); [INFO] [stdout] 27 | | for client in &mut clients { [INFO] [stdout] 28 | | client.go_to(Datacentrum); [INFO] [stdout] ... | [INFO] [stdout] 35 | | thread::sleep(Duration::from_millis((10000/* - time.elapsed().as_millis()*/) as u64)); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 37 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut reader = BufReader::new(socket.try_clone().unwrap()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut reader = BufReader::new(socket.try_clone().unwrap()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `craft` [INFO] [stdout] --> src/client.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let craft = self.perform("craft", recipe.ingredients.iter().map(|elem|elem.to_string()).collect()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_craft` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `craft` [INFO] [stdout] --> src/client.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let craft = self.perform("craft", recipe.ingredients.iter().map(|elem|elem.to_string()).collect()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_craft` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Miestnost` is more private than the item `Recipe::station` [INFO] [stdout] --> src/main.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub station: Miestnost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Recipe::station` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Miestnost` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | enum Miestnost { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Miestnost` is more private than the item `Recipe::station` [INFO] [stdout] --> src/main.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub station: Miestnost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Recipe::station` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Miestnost` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | enum Miestnost { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recursive_craft` is never used [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn recursive_craft(client: &mut Client, element: Element){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recursive_craft` is never used [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn recursive_craft(client: &mut Client, element: Element){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bruteforce_crafts` is never used [INFO] [stdout] --> src/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn bruteforce_crafts(client: &mut Client, ingredient_count: usize, max_per: usize, bruteforcing: &[Element]){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `have_items`, `craft`, and `list_elements_in_storage` are never used [INFO] [stdout] --> src/client.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Client{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn have_items(&mut self, items: Vec){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn craft(&mut self, recipe: &Recipe) -> anyhow::Result<()>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn list_elements_in_storage(&mut self) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bruteforce_crafts` is never used [INFO] [stdout] --> src/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn bruteforce_crafts(client: &mut Client, ingredient_count: usize, max_per: usize, bruteforcing: &[Element]){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `have_items`, `craft`, and `list_elements_in_storage` are never used [INFO] [stdout] --> src/client.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Client{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn have_items(&mut self, items: Vec){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn craft(&mut self, recipe: &Recipe) -> anyhow::Result<()>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn list_elements_in_storage(&mut self) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "7182426ee1c48fae693b658efdc927f79511cb69d947e1634bca1e1188789853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7182426ee1c48fae693b658efdc927f79511cb69d947e1634bca1e1188789853", kill_on_drop: false }` [INFO] [stdout] 7182426ee1c48fae693b658efdc927f79511cb69d947e1634bca1e1188789853