[INFO] cloning repository https://github.com/emhagman/rust-friday-battlesnakes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emhagman/rust-friday-battlesnakes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Frust-friday-battlesnakes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Frust-friday-battlesnakes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14d15d860e3dc672b64f75c1267875885fcc232e [INFO] building emhagman/rust-friday-battlesnakes against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Frust-friday-battlesnakes" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emhagman/rust-friday-battlesnakes [INFO] finished tweaking git repo https://github.com/emhagman/rust-friday-battlesnakes [INFO] tweaked toml for git repo https://github.com/emhagman/rust-friday-battlesnakes written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emhagman/rust-friday-battlesnakes on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emhagman/rust-friday-battlesnakes 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded thiserror v1.0.38 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded ubyte v0.10.1 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded simba v0.7.3 [INFO] [stderr] Downloaded async-stream-impl v0.3.2 [INFO] [stderr] Downloaded state v0.5.2 [INFO] [stderr] Downloaded async-stream v0.3.2 [INFO] [stderr] Downloaded multer v2.0.2 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded tracing-core v0.1.22 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.13 [INFO] [stderr] Downloaded tiff v0.8.1 [INFO] [stderr] Downloaded rocket v0.5.0-rc.1 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded tracing-subscriber v0.3.9 [INFO] [stderr] Downloaded loom v0.5.4 [INFO] [stderr] Downloaded exr v1.5.2 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded flate2 v1.0.25 [INFO] [stderr] Downloaded image v0.24.5 [INFO] [stderr] Downloaded safe_arch v0.6.0 [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] [stderr] Downloaded libc v0.2.139 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded rayon-core v1.10.2 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.1 [INFO] [stderr] Downloaded rayon v1.6.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.14 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded thiserror-impl v1.0.38 [INFO] [stderr] Downloaded devise_core v0.3.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.19 [INFO] [stderr] Downloaded getrandom v0.2.8 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded png v0.17.7 [INFO] [stderr] Downloaded wide v0.7.6 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded crossbeam-deque v0.8.2 [INFO] [stderr] Downloaded devise_codegen v0.3.1 [INFO] [stderr] Downloaded devise v0.3.1 [INFO] [stderr] Downloaded ref-cast v1.0.6 [INFO] [stderr] Downloaded uncased v0.9.6 [INFO] [stderr] Downloaded generator v0.7.0 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded const_fn v0.4.9 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded half v2.2.1 [INFO] [stderr] Downloaded rurel v0.4.0 [INFO] [stderr] Downloaded imageproc v0.23.0 [INFO] [stderr] Downloaded smallvec v1.10.0 [INFO] [stderr] Downloaded miniz_oxide v0.6.2 [INFO] [stderr] Downloaded bytemuck v1.13.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.6 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded pin-project v1.0.12 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded pathfinding v3.0.14 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded pin-project-internal v1.0.12 [INFO] [stderr] Downloaded matrixmultiply v0.3.2 [INFO] [stderr] Downloaded paste v1.0.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76174c30cb8ba0452740a31373c50c7da3b50805d7767dbedbebfefc1aab57c5 [INFO] running `Command { std: "docker" "start" "-a" "76174c30cb8ba0452740a31373c50c7da3b50805d7767dbedbebfefc1aab57c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76174c30cb8ba0452740a31373c50c7da3b50805d7767dbedbebfefc1aab57c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76174c30cb8ba0452740a31373c50c7da3b50805d7767dbedbebfefc1aab57c5", kill_on_drop: false }` [INFO] [stdout] 76174c30cb8ba0452740a31373c50c7da3b50805d7767dbedbebfefc1aab57c5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e9aa6e367165e1269b2f1f80b2f376480796fae85d2dbca2f35be13c53b033f [INFO] running `Command { std: "docker" "start" "-a" "1e9aa6e367165e1269b2f1f80b2f376480796fae85d2dbca2f35be13c53b033f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling wide v0.7.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rurel v0.4.0 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling exr v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling pathfinding v3.0.14 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rust-pathfinding v0.1.0 (/opt/rustwide/workdir/vendor/rust-pathfinding) [INFO] [stderr] Compiling starter-snake-rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/learning.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn query(trainer: &AgentTrainer, current_state: &MyState) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Hungry`, `Timid`, and `Snacky` are never constructed [INFO] [stdout] --> src/logic/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SnakePersonality { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 28 | Hungry, // Eats food no matter what [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Timid, // Avoid snakes at all costs [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | HeadHunter, // Kills other snakes [INFO] [stdout] 31 | Snacky, // Eats food when it's safe to do so [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnakePersonality` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1e9aa6e367165e1269b2f1f80b2f376480796fae85d2dbca2f35be13c53b033f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9aa6e367165e1269b2f1f80b2f376480796fae85d2dbca2f35be13c53b033f", kill_on_drop: false }` [INFO] [stdout] 1e9aa6e367165e1269b2f1f80b2f376480796fae85d2dbca2f35be13c53b033f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0467899cca4936156d15b068710ee048626e2f11867d4039b352fdcea884425f [INFO] running `Command { std: "docker" "start" "-a" "0467899cca4936156d15b068710ee048626e2f11867d4039b352fdcea884425f", kill_on_drop: false }` [INFO] [stderr] Compiling starter-snake-rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/learning.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn query(trainer: &AgentTrainer, current_state: &MyState) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Hungry`, `Timid`, and `Snacky` are never constructed [INFO] [stdout] --> src/logic/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SnakePersonality { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 28 | Hungry, // Eats food no matter what [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Timid, // Avoid snakes at all costs [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | HeadHunter, // Kills other snakes [INFO] [stdout] 31 | Snacky, // Eats food when it's safe to do so [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnakePersonality` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "0467899cca4936156d15b068710ee048626e2f11867d4039b352fdcea884425f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0467899cca4936156d15b068710ee048626e2f11867d4039b352fdcea884425f", kill_on_drop: false }` [INFO] [stdout] 0467899cca4936156d15b068710ee048626e2f11867d4039b352fdcea884425f