[INFO] updating cached repository https://github.com/louisch/euler-rust
[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] ae1cdc3974bba5f22cbc1026f8bc9ec0ffb2bab2
[INFO] testing louisch/euler-rust against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Feuler-rust" "/workspace/builds/worker-8/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/louisch/euler-rust on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/louisch/euler-rust
[INFO] finished tweaking git repo https://github.com/louisch/euler-rust
[INFO] tweaked toml for git repo https://github.com/louisch/euler-rust written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/louisch/euler-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.40.0" "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] cfc92c6dd263d2e4a149e84e9a8d76bb386147a200d1c22790cf6d55e6b71d95
[INFO] running `"docker" "start" "-a" "cfc92c6dd263d2e4a149e84e9a8d76bb386147a200d1c22790cf6d55e6b71d95"`
[INFO] [stderr]    Compiling unicode-segmentation v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling euler-rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0425]: cannot find function `repeat` in this scope
[INFO] [stderr]   --> src/math/primes.rs:68:24
[INFO] [stderr]    |
[INFO] [stderr] 68 |     let mut is_prime = repeat(true).take(n as usize).collect::<Vec<bool>>();
[INFO] [stderr]    |                        ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::io::repeat;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::iter::repeat;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `prime` in this scope
[INFO] [stderr]   --> src/math/primes.rs:76:6
[INFO] [stderr]    |
[INFO] [stderr] 76 |     (prime, is_primes)
[INFO] [stderr]    |      ^^^^^ help: a local variable with a similar name exists: `primes`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `is_primes` in this scope
[INFO] [stderr]   --> src/math/primes.rs:76:13
[INFO] [stderr]    |
[INFO] [stderr] 76 |     (prime, is_primes)
[INFO] [stderr]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `is_prime`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::iter::repeat`
[INFO] [stderr]   --> src/math/primes.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |     use std::iter::repeat;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/prob1/solver.rs:2:31
[INFO] [stderr]   |
[INFO] [stderr] 2 |     fn sequence(&self) -> Box<Iterator<Item=u32>>;
[INFO] [stderr]   |                               ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item=u32>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/prob1/brute_force.rs:14:31
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn sequence(&self) -> Box<Iterator<Item=u32>> {
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item=u32>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/math/primes.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn primes(n: u64) -> Vec<u64> {
[INFO] [stderr]    | --------------------------------- fn(u64) -> std::vec::Vec<u64> {math::primes::primes} defined here
[INFO] [stderr] ...
[INFO] [stderr] 54 | pub fn primes_below(n: u64) -> Vec<u64> {
[INFO] [stderr]    |                                -------- expected `std::vec::Vec<u64>` because of return type
[INFO] [stderr] ...
[INFO] [stderr] 63 |     primes
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     expected struct `std::vec::Vec`, found fn item
[INFO] [stderr]    |     help: use parentheses to call this function: `primes(n)`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `std::vec::Vec<u64>`
[INFO] [stderr]               found type `fn(u64) -> std::vec::Vec<u64> {math::primes::primes}`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `euler-rust`.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "cfc92c6dd263d2e4a149e84e9a8d76bb386147a200d1c22790cf6d55e6b71d95"`
[INFO] running `"docker" "rm" "-f" "cfc92c6dd263d2e4a149e84e9a8d76bb386147a200d1c22790cf6d55e6b71d95"`
[INFO] [stdout] cfc92c6dd263d2e4a149e84e9a8d76bb386147a200d1c22790cf6d55e6b71d95
