[INFO] cloning repository https://github.com/JoeHowarth/market_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoeHowarth/market_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeHowarth%2Fmarket_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeHowarth%2Fmarket_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25bdff2ee9f5eb5edb7359c89413cb9e5f03bb10 [INFO] checking JoeHowarth/market_sim/25bdff2ee9f5eb5edb7359c89413cb9e5f03bb10 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeHowarth%2Fmarket_sim" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoeHowarth/market_sim 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/JoeHowarth/market_sim [INFO] finished tweaking git repo https://github.com/JoeHowarth/market_sim [INFO] tweaked toml for git repo https://github.com/JoeHowarth/market_sim written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JoeHowarth/market_sim 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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3551a0845abe105ba12e0469296ebfb20b8c06fc0ab08b2d85e040b483ca43a9 [INFO] running `Command { std: "docker" "start" "-a" "3551a0845abe105ba12e0469296ebfb20b8c06fc0ab08b2d85e040b483ca43a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3551a0845abe105ba12e0469296ebfb20b8c06fc0ab08b2d85e040b483ca43a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3551a0845abe105ba12e0469296ebfb20b8c06fc0ab08b2d85e040b483ca43a9", kill_on_drop: false }` [INFO] [stdout] 3551a0845abe105ba12e0469296ebfb20b8c06fc0ab08b2d85e040b483ca43a9 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31944cbf1dae5a19de2356665261aa81ab86691f074c5575cb929f84672ecc27 [INFO] running `Command { std: "docker" "start" "-a" "31944cbf1dae5a19de2356665261aa81ab86691f074c5575cb929f84672ecc27", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking market_sim1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(in_band_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generators, cell_update)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `coroutines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(in_band_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generators, cell_update)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `coroutines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/agent.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Agent { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/agent.rs:57:75 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Agent { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/agent.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Agent { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/agent.rs:57:75 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 57 | pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task { [INFO] [stdout] | ++++ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Agent { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/agent.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let a = Agent::new(20, hashmap! {Grain => s, Food => 40}); [INFO] [stdout] | ^^^^^^^^^^--------------------------------------- argument #3 of type `std::collections::HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/agent.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(cash: i16, res: HashMap, skill: HashMap) -> Agent { [INFO] [stdout] | ^^^ --------- ----------------------- ------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 279 | let a = Agent::new(20, hashmap! {Grain => s, Food => 40}, /* std::collections::HashMap */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `market_sim1` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0261, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `market_sim1` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "31944cbf1dae5a19de2356665261aa81ab86691f074c5575cb929f84672ecc27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31944cbf1dae5a19de2356665261aa81ab86691f074c5575cb929f84672ecc27", kill_on_drop: false }` [INFO] [stdout] 31944cbf1dae5a19de2356665261aa81ab86691f074c5575cb929f84672ecc27