[INFO] updating cached repository https://github.com/Pajn/fermi [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a3ca001163f82b53634e28427c1d5d6cf2b74e5f [INFO] testing Pajn/fermi against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPajn%2Ffermi" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pajn/fermi on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/Pajn/fermi already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-11/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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 242a25f86fbdd7be09709a419fe49a30ad7e99f5bc1f58d0c0d32bf841523961 [INFO] running `"docker" "start" "-a" "242a25f86fbdd7be09709a419fe49a30ad7e99f5bc1f58d0c0d32bf841523961"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 fixedbitset v0.1.8 [INFO] [stderr] Compiling text_io v0.1.6 [INFO] [stderr] Compiling itertools v0.7.2 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling pathfinding v0.5.0 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling fermi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `pathfinding::astar` [INFO] [stderr] --> src/helpers.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use pathfinding::astar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `helpers::*` [INFO] [stderr] --> src/my_bot.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use helpers::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/helpers.rs:86:34 [INFO] [stderr] | [INFO] [stderr] 86 | let mean_value = values.iter().sum() / values.len(); [INFO] [stderr] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `_: std::iter::Sum<&f32>` [INFO] [stderr] help: consider specifying the type argument in the method call [INFO] [stderr] | [INFO] [stderr] 86 | let mean_value = values.iter().sum::() / values.len(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BaseMatrix` [INFO] [stderr] --> src/my_bot.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | use rusty_machine::linalg::{BaseMatrix}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `fermi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "242a25f86fbdd7be09709a419fe49a30ad7e99f5bc1f58d0c0d32bf841523961"` [INFO] running `"docker" "rm" "-f" "242a25f86fbdd7be09709a419fe49a30ad7e99f5bc1f58d0c0d32bf841523961"` [INFO] [stdout] 242a25f86fbdd7be09709a419fe49a30ad7e99f5bc1f58d0c0d32bf841523961