[INFO] cloning repository https://github.com/Pajn/fermi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pajn/fermi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPajn%2Ffermi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPajn%2Ffermi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3ca001163f82b53634e28427c1d5d6cf2b74e5f [INFO] testing Pajn/fermi against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPajn%2Ffermi" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pajn/fermi on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pajn/fermi [INFO] finished tweaking git repo https://github.com/Pajn/fermi [INFO] tweaked toml for git repo https://github.com/Pajn/fermi written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/Pajn/fermi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-18/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd61a2f3395e4cd1f35cb9c153258ebc6c339f2f02516444d144c6e10efae590 [INFO] running `Command { std: "docker" "start" "-a" "cd61a2f3395e4cd1f35cb9c153258ebc6c339f2f02516444d144c6e10efae590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd61a2f3395e4cd1f35cb9c153258ebc6c339f2f02516444d144c6e10efae590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd61a2f3395e4cd1f35cb9c153258ebc6c339f2f02516444d144c6e10efae590", kill_on_drop: false }` [INFO] [stdout] cd61a2f3395e4cd1f35cb9c153258ebc6c339f2f02516444d144c6e10efae590 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbed6574bef700a93d1d3ff0f535ed73bf81ee1d9e672f5468256fe059096fa7 [INFO] running `Command { std: "docker" "start" "-a" "cbed6574bef700a93d1d3ff0f535ed73bf81ee1d9e672f5468256fe059096fa7", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling fixedbitset v0.1.8 [INFO] [stderr] Compiling text_io v0.1.6 [INFO] [stderr] Compiling itertools v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling pathfinding v0.5.0 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling fermi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pathfinding::astar` [INFO] [stdout] --> src/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pathfinding::astar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `helpers::*` [INFO] [stdout] --> src/my_bot.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use helpers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/helpers.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | let mean_value = values.iter().sum() / values.len(); [INFO] [stdout] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Sum<&f32>` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum` [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 86 | let mean_value = values.iter().sum::() / values.len(); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 86 | let mean_value = values.iter().sum::() / values.len(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseMatrix` [INFO] [stdout] --> src/my_bot.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use rusty_machine::linalg::{BaseMatrix}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fermi` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cbed6574bef700a93d1d3ff0f535ed73bf81ee1d9e672f5468256fe059096fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbed6574bef700a93d1d3ff0f535ed73bf81ee1d9e672f5468256fe059096fa7", kill_on_drop: false }` [INFO] [stdout] cbed6574bef700a93d1d3ff0f535ed73bf81ee1d9e672f5468256fe059096fa7