[INFO] cloning repository https://github.com/alec-deason/NaNoGenMo-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alec-deason/NaNoGenMo-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2FNaNoGenMo-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2FNaNoGenMo-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a64b75f063067d6ce8b88d3141c3f12ef4aacfc1 [INFO] checking alec-deason/NaNoGenMo-2018 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2FNaNoGenMo-2018" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alec-deason/NaNoGenMo-2018 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alec-deason/NaNoGenMo-2018 [INFO] finished tweaking git repo https://github.com/alec-deason/NaNoGenMo-2018 [INFO] tweaked toml for git repo https://github.com/alec-deason/NaNoGenMo-2018 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alec-deason/NaNoGenMo-2018 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_isaac v0.1.0 [INFO] [stderr] Downloaded rand v0.6.0-pre.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10679174ad682faacd82a7b82be6a367e382a1f3a8e299edce8c7f4748b4dbc8 [INFO] running `Command { std: "docker" "start" "-a" "10679174ad682faacd82a7b82be6a367e382a1f3a8e299edce8c7f4748b4dbc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10679174ad682faacd82a7b82be6a367e382a1f3a8e299edce8c7f4748b4dbc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10679174ad682faacd82a7b82be6a367e382a1f3a8e299edce8c7f4748b4dbc8", kill_on_drop: false }` [INFO] [stdout] 10679174ad682faacd82a7b82be6a367e382a1f3a8e299edce8c7f4748b4dbc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cb90c7653bb6748814e887adb58955845824d69620ee536a5f56884464595bd [INFO] running `Command { std: "docker" "start" "-a" "4cb90c7653bb6748814e887adb58955845824d69620ee536a5f56884464595bd", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.0-pre.1 [INFO] [stderr] Checking nanogenmo_2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/agent/daemons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/agent/daemons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IteratorRandom` [INFO] [stdout] --> src/agent/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::seq::IteratorRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IteratorRandom` [INFO] [stdout] --> src/agent/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::seq::IteratorRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_remove_item` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_remove_item` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/agent/events.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | world.locations[self.start].agents.remove_item(&self.agent); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 | world.locations[self.start].agents.remove(&self.agent); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/agent/events.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | world.locations[self.start].agents.remove_item(&self.agent); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 | world.locations[self.start].agents.remove(&self.agent); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | the_greenwood.remove_item(&seed); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 | the_greenwood.remove(&seed); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IteratorRandom` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::IteratorRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | the_greenwood.remove_item(&seed); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 | the_greenwood.remove(&seed); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IteratorRandom` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::IteratorRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent` [INFO] [stdout] --> src/agent/executive.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | ... payload: |agent, _| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/events.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn to_string(&self, world: &World) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent` [INFO] [stdout] --> src/agent/daemons.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/agent/daemons.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let goal = mind.goals.remove(&executive::Goal::Rest); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent` [INFO] [stdout] --> src/agent/executive.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | ... payload: |agent, _| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cheer` [INFO] [stdout] --> src/agent/daemons.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let cheer = mind.cheer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cheer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/agent/daemons.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut mind = agent.mind.borrow_mut(); [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: `world` [INFO] [stdout] --> src/agent/daemons.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn apply(&self, world: &mut World) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/lib.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn to_string(&self, world: &World) -> String { "".to_string() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/lib.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_id` [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut item_id = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rng = rand::thread_rng(); [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/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut item_id = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent` [INFO] [stdout] --> src/agent/daemons.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/agent/daemons.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let goal = mind.goals.remove(&executive::Goal::Rest); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent/daemons.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cheer` [INFO] [stdout] --> src/agent/daemons.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let cheer = mind.cheer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cheer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/agent/daemons.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut mind = agent.mind.borrow_mut(); [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: `world` [INFO] [stdout] --> src/agent/daemons.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn events(&self, agent: &Agent, world: &World) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn apply(&self, world: &mut World) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/lib.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn to_string(&self, world: &World) -> String { "".to_string() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/lib.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_id` [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut item_id = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rng = rand::thread_rng(); [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/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut item_id = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nanogenmo_2018` (lib test) due to 4 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nanogenmo_2018` (lib) due to 4 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4cb90c7653bb6748814e887adb58955845824d69620ee536a5f56884464595bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb90c7653bb6748814e887adb58955845824d69620ee536a5f56884464595bd", kill_on_drop: false }` [INFO] [stdout] 4cb90c7653bb6748814e887adb58955845824d69620ee536a5f56884464595bd [INFO] checking alec-deason/NaNoGenMo-2018 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2FNaNoGenMo-2018" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alec-deason/NaNoGenMo-2018 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alec-deason/NaNoGenMo-2018 [INFO] finished tweaking git repo https://github.com/alec-deason/NaNoGenMo-2018 [INFO] tweaked toml for git repo https://github.com/alec-deason/NaNoGenMo-2018 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alec-deason/NaNoGenMo-2018 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dc06c035f4012d78af7d22865ba38d94be815346f620c420838956308c01327 [INFO] running `Command { std: "docker" "start" "-a" "6dc06c035f4012d78af7d22865ba38d94be815346f620c420838956308c01327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dc06c035f4012d78af7d22865ba38d94be815346f620c420838956308c01327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc06c035f4012d78af7d22865ba38d94be815346f620c420838956308c01327", kill_on_drop: false }` [INFO] [stdout] 6dc06c035f4012d78af7d22865ba38d94be815346f620c420838956308c01327 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9cba4b3ac5703d899c6253b02511292dc2c94561b156d830bd46905cf9b6d08 [INFO] running `Command { std: "docker" "start" "-a" "c9cba4b3ac5703d899c6253b02511292dc2c94561b156d830bd46905cf9b6d08", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "c9cba4b3ac5703d899c6253b02511292dc2c94561b156d830bd46905cf9b6d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9cba4b3ac5703d899c6253b02511292dc2c94561b156d830bd46905cf9b6d08", kill_on_drop: false }` [INFO] [stdout] c9cba4b3ac5703d899c6253b02511292dc2c94561b156d830bd46905cf9b6d08