[INFO] cloning repository https://github.com/PyroFlareX/EconomySim-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PyroFlareX/EconomySim-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyroFlareX%2FEconomySim-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyroFlareX%2FEconomySim-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e69cc4246db3ee70d2f070d11f2ebdebe52f7011 [INFO] checking PyroFlareX/EconomySim-Rust/e69cc4246db3ee70d2f070d11f2ebdebe52f7011 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyroFlareX%2FEconomySim-Rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PyroFlareX/EconomySim-Rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PyroFlareX/EconomySim-Rust [INFO] finished tweaking git repo https://github.com/PyroFlareX/EconomySim-Rust [INFO] tweaked toml for git repo https://github.com/PyroFlareX/EconomySim-Rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PyroFlareX/EconomySim-Rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 876c21cd7dc3a8fdaba827127be44b47eaa4716cd92a06ab3e3d9863b90634ea [INFO] running `Command { std: "docker" "start" "-a" "876c21cd7dc3a8fdaba827127be44b47eaa4716cd92a06ab3e3d9863b90634ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "876c21cd7dc3a8fdaba827127be44b47eaa4716cd92a06ab3e3d9863b90634ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "876c21cd7dc3a8fdaba827127be44b47eaa4716cd92a06ab3e3d9863b90634ea", kill_on_drop: false }` [INFO] [stdout] 876c21cd7dc3a8fdaba827127be44b47eaa4716cd92a06ab3e3d9863b90634ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb0adc9ac1e28fbfcf2f803ef3535612322378065e8f6befe621e68a06d182c1 [INFO] running `Command { std: "docker" "start" "-a" "eb0adc9ac1e28fbfcf2f803ef3535612322378065e8f6befe621e68a06d182c1", kill_on_drop: false }` [INFO] [stderr] Checking EconomySim-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifiers [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 196 | country_map: &HashMap>, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 197 | state_map: &HashMap>, [INFO] [stdout] | ----------------------------- [INFO] [stdout] 198 | province_map: &HashMap>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 199 | entity: &EntityTag, [INFO] [stdout] | ---------- [INFO] [stdout] 200 | ) -> (RefMut, RefMut, RefMut) { [INFO] [stdout] | ^ ^ ^ expected named lifetime parameter [INFO] [stdout] | | | [INFO] [stdout] | | expected named lifetime parameter [INFO] [stdout] | expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `country_map`, `state_map`, `province_map`, or `entity` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 195 ~ fn get_info_tuple<'a>( [INFO] [stdout] 196 ~ country_map: &'a HashMap>, [INFO] [stdout] 197 ~ state_map: &'a HashMap>, [INFO] [stdout] 198 ~ province_map: &'a HashMap>, [INFO] [stdout] 199 ~ entity: &'a EntityTag, [INFO] [stdout] 200 ~ ) -> (RefMut<'a, Country>, RefMut<'a, State>, RefMut<'a, Province>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifiers [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 196 | country_map: &HashMap>, [INFO] [stdout] | ------------------------------- [INFO] [stdout] 197 | state_map: &HashMap>, [INFO] [stdout] | ----------------------------- [INFO] [stdout] 198 | province_map: &HashMap>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 199 | entity: &EntityTag, [INFO] [stdout] | ---------- [INFO] [stdout] 200 | ) -> (RefMut, RefMut, RefMut) { [INFO] [stdout] | ^ ^ ^ expected named lifetime parameter [INFO] [stdout] | | | [INFO] [stdout] | | expected named lifetime parameter [INFO] [stdout] | expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `country_map`, `state_map`, `province_map`, or `entity` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 195 ~ fn get_info_tuple<'a>( [INFO] [stdout] 196 ~ country_map: &'a HashMap>, [INFO] [stdout] 197 ~ state_map: &'a HashMap>, [INFO] [stdout] 198 ~ province_map: &'a HashMap>, [INFO] [stdout] 199 ~ entity: &'a EntityTag, [INFO] [stdout] 200 ~ ) -> (RefMut<'a, Country>, RefMut<'a, State>, RefMut<'a, Province>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Factories::*` [INFO] [stdout] --> src/Economy/Entities/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use Factories::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Factories::*` [INFO] [stdout] --> src/Economy/Entities/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use Factories::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `good` [INFO] [stdout] --> src/main.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | for (index, good) in goods_list.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_good` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buyer_country` [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let mut buyer_country = country_map [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buyer_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country` [INFO] [stdout] --> src/main.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | for (_country_id, country) in &mut country_map { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `good` [INFO] [stdout] --> src/main.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | for (index, good) in goods_list.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_good` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buyer_country` [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let mut buyer_country = country_map [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buyer_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country` [INFO] [stdout] --> src/main.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | for (_country_id, country) in &mut country_map { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | let mut buyer_country = country_map [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:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut buyer = &mut buyer_province.get_pops_mut() [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:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let mut supplier = &mut supplier_prov.get_pops_mut() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | let mut buyer_country = country_map [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:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut buyer = &mut buyer_province.get_pops_mut() [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:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let mut supplier = &mut supplier_prov.get_pops_mut() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `EconomySim-Rust` (bin "EconomySim-Rust") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `EconomySim-Rust` (bin "EconomySim-Rust" test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb0adc9ac1e28fbfcf2f803ef3535612322378065e8f6befe621e68a06d182c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0adc9ac1e28fbfcf2f803ef3535612322378065e8f6befe621e68a06d182c1", kill_on_drop: false }` [INFO] [stdout] eb0adc9ac1e28fbfcf2f803ef3535612322378065e8f6befe621e68a06d182c1