[INFO] updating cached repository https://github.com/renato-zannon/rust-project_euler [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] e57d405148a4ed7fd8760d32eeb6153c4b017479 [INFO] checking renato-zannon/rust-project_euler against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-project_euler" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renato-zannon/rust-project_euler on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/renato-zannon/rust-project_euler [INFO] removed workspace from git repo https://github.com/renato-zannon/rust-project_euler [INFO] removed path dependency shared from git repo https://github.com/renato-zannon/rust-project_euler [INFO] finished tweaking git repo https://github.com/renato-zannon/rust-project_euler [INFO] tweaked toml for git repo https://github.com/renato-zannon/rust-project_euler written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/renato-zannon/rust-project_euler already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (shared) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (shared) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba7202148e57c26fcb9077584a03d1c8b257595b2b87388b065c6ddf20de06be [INFO] running `"docker" "start" "-a" "ba7202148e57c26fcb9077584a03d1c8b257595b2b87388b065c6ddf20de06be"` [INFO] [stderr] warning: dependency (shared) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking enum-set v0.0.8 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking as-slice v0.1.2 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking shared v0.1.2 [INFO] [stderr] Checking project_euler v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `shared::triangle` [INFO] [stderr] --> src/bin/67.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use shared::triangle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `triangle` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `shared::digits`, `shared::sieve` [INFO] [stderr] --> src/bin/35.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use shared::{digits, sieve}; [INFO] [stderr] | ^^^^^^ ^^^^^ no `sieve` in the root [INFO] [stderr] | | [INFO] [stderr] | no `digits` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::totient` [INFO] [stderr] --> src/bin/72.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use shared::totient; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `totient` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `shared::triangle` [INFO] [stderr] --> src/bin/18.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use shared::triangle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `triangle` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `shared::digits`, `shared::sieve`, `shared::Permutations` [INFO] [stderr] --> src/bin/49.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | use shared::{digits, sieve, Permutations}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^ no `Permutations` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `sieve` in the root [INFO] [stderr] | no `digits` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::Permutations` [INFO] [stderr] --> src/bin/24.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use shared::Permutations; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Permutations` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::data_reader` [INFO] [stderr] --> src/bin/22.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use shared::data_reader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `data_reader` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::combinations` [INFO] [stderr] --> src/bin/06.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use shared::combinations; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `combinations` in the root [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `permutations` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/bin/49.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | .permutations() [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `permutations` found for type `[{integer}; 10]` in the current scope [INFO] [stderr] --> src/bin/24.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | let result = digits.permutations().skip(1_000_000 - 1).next().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `[{integer}; 10]` [INFO] [stderr] | [INFO] [stderr] = note: the method `permutations` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&[{integer}; 10] : itertools::Itertools` [INFO] [stderr] `&[{integer}] : itertools::Itertools` [INFO] [stderr] `&mut [{integer}; 10] : itertools::Itertools` [INFO] [stderr] `&mut [{integer}] : itertools::Itertools` [INFO] [stderr] `[{integer}; 10] : itertools::Itertools` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::Permutations` [INFO] [stderr] --> src/bin/24.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use shared::Permutations; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Permutations` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[usize]` cannot be known at compilation time [INFO] [stderr] --> src/bin/49.rs:31:37 [INFO] [stderr] | [INFO] [stderr] 31 | .map(|digits| to_number(&digits)) [INFO] [stderr] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[usize]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/bin/24.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0432]: unresolved import `shared::digits` [INFO] [stderr] --> src/bin/33.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use shared::digits; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `digits` in the root [INFO] [stderr] [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `shared::primes` [INFO] [stderr] --> src/bin/58.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use shared::primes; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `primes` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `permutations` found for type `[{integer}; 10]` in the current scope [INFO] [stderr] --> src/bin/24.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | let result = digits.permutations().skip(1_000_000 - 1).next().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `[{integer}; 10]` [INFO] [stderr] | [INFO] [stderr] = note: the method `permutations` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&[{integer}; 10] : itertools::Itertools` [INFO] [stderr] `&[{integer}] : itertools::Itertools` [INFO] [stderr] `&mut [{integer}; 10] : itertools::Itertools` [INFO] [stderr] `&mut [{integer}] : itertools::Itertools` [INFO] [stderr] `[{integer}; 10] : itertools::Itertools` [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/bin/24.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `shared::digits` [INFO] [stderr] --> src/bin/32.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use shared::digits; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `digits` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::pandigital` [INFO] [stderr] --> src/bin/32.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use shared::pandigital::{is_9_pandigital, PandigitalResult}; [INFO] [stderr] | ^^^^^^^^^^ could not find `pandigital` in `shared` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `shared::a_star`, `shared::a_star` [INFO] [stderr] --> src/bin/82.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | use shared::a_star::{self, Traversable}; [INFO] [stderr] | ^^^^^^ ^^^^ no `a_star` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `a_star` in `shared` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::a_star` [INFO] [stderr] --> src/bin/82.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | use shared::a_star; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `a_star` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::a_star` [INFO] [stderr] --> src/bin/83.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use shared::a_star::{Coord, Matrix}; [INFO] [stderr] | ^^^^^^ could not find `a_star` in `shared` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ba7202148e57c26fcb9077584a03d1c8b257595b2b87388b065c6ddf20de06be"` [INFO] running `"docker" "rm" "-f" "ba7202148e57c26fcb9077584a03d1c8b257595b2b87388b065c6ddf20de06be"` [INFO] [stdout] ba7202148e57c26fcb9077584a03d1c8b257595b2b87388b065c6ddf20de06be