[INFO] cloning repository https://github.com/christianpoveda/pacman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christianpoveda/pacman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristianpoveda%2Fpacman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristianpoveda%2Fpacman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fe97d4ffcfa53add868853986a6bb2aba198f80 [INFO] checking christianpoveda/pacman against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristianpoveda%2Fpacman" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christianpoveda/pacman on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christianpoveda/pacman [INFO] finished tweaking git repo https://github.com/christianpoveda/pacman [INFO] tweaked toml for git repo https://github.com/christianpoveda/pacman written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/christianpoveda/pacman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d10507680882c32f08741345c766628f6aa2bd835a07a470f294148d2ca67f2b [INFO] running `Command { std: "docker" "start" "-a" "d10507680882c32f08741345c766628f6aa2bd835a07a470f294148d2ca67f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d10507680882c32f08741345c766628f6aa2bd835a07a470f294148d2ca67f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10507680882c32f08741345c766628f6aa2bd835a07a470f294148d2ca67f2b", kill_on_drop: false }` [INFO] [stdout] d10507680882c32f08741345c766628f6aa2bd835a07a470f294148d2ca67f2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9a91da99bc7c2e4686632c9c6ba115f2855f36ac2517aa0d153b22053feefac [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" "b9a91da99bc7c2e4686632c9c6ba115f2855f36ac2517aa0d153b22053feefac", kill_on_drop: false }` [INFO] [stderr] Checking pacman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | agents: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Agent + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | agents: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Agent + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | agents: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Agent + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | agents: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Agent + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/agents/greedy_agent.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | actions.remove_item(&Direction::Stop); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/agents/greedy_agent.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | actions.remove_item(&Direction::Stop); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/game/game_state.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | state.capsules.remove_item(&(x, y)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/rules/ghost.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | actions.remove_item(&Direction::Stop); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/rules/ghost.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | actions.remove_item(&reverse); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/game/game_state.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | state.capsules.remove_item(&(x, y)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/rules/ghost.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | actions.remove_item(&Direction::Stop); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/rules/ghost.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | actions.remove_item(&reverse); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "b9a91da99bc7c2e4686632c9c6ba115f2855f36ac2517aa0d153b22053feefac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a91da99bc7c2e4686632c9c6ba115f2855f36ac2517aa0d153b22053feefac", kill_on_drop: false }` [INFO] [stdout] b9a91da99bc7c2e4686632c9c6ba115f2855f36ac2517aa0d153b22053feefac