[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 master#450abe80f193ccefbfcd48214d70520f2d507f0e for pr-73084 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-project_euler" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renato-zannon/rust-project_euler on toolchain 450abe80f193ccefbfcd48214d70520f2d507f0e [INFO] running `"/workspace/cargo-home/bin/cargo" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "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-13/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" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "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-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "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] eac88a0d42ce7e2b9d638e01efe273d836ae6059ac28baed46927773fa676a4d [INFO] running `"docker" "start" "-a" "eac88a0d42ce7e2b9d638e01efe273d836ae6059ac28baed46927773fa676a4d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking enum-set v0.0.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking shared v0.1.2 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking project_euler v0.0.1 (/opt/rustwide/workdir) [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] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/bin/23.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `project_euler`. [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[E0432]: unresolved import `shared::primes` [INFO] [stderr] --> src/bin/41.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use shared::primes; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `primes` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::Permutations` [INFO] [stderr] --> src/bin/41.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use shared::Permutations; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Permutations` 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[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] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/bin/11.rs:80:28 [INFO] [stderr] | [INFO] [stderr] 80 | .map(|slice| slice.into_iter().fold(1, |acc, num| acc * num)) [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::continued_fraction` [INFO] [stderr] --> src/bin/66.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use shared::continued_fraction::convergent_iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `continued_fraction` in `shared` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `permutations` found for struct `std::vec::Vec` in the current scope [INFO] [stderr] --> src/bin/41.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | digit_slice.to_vec().permutations() [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::vec::Vec` [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[E0277]: the size for values of type `[u32]` cannot be known at compilation time [INFO] [stderr] --> src/bin/41.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | let primes = permutations.filter_map(|permutation| { [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 `[u32]` [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] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `shared::sieve` [INFO] [stderr] --> src/bin/47-2.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use shared::sieve; [INFO] [stderr] | ^^^^^^^^^^^^^ no `sieve` 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: build failed [INFO] running `"docker" "inspect" "eac88a0d42ce7e2b9d638e01efe273d836ae6059ac28baed46927773fa676a4d"` [INFO] running `"docker" "rm" "-f" "eac88a0d42ce7e2b9d638e01efe273d836ae6059ac28baed46927773fa676a4d"` [INFO] [stdout] eac88a0d42ce7e2b9d638e01efe273d836ae6059ac28baed46927773fa676a4d