[INFO] updating cached repository https://github.com/renato-zannon/rust-project_euler [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e57d405148a4ed7fd8760d32eeb6153c4b017479 [INFO] checking renato-zannon/rust-project_euler against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-project_euler" "/workspace/builds/worker-13/source", kill_on_drop: false }` [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 e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0176a4c98176dc86075be5fdf6a4ab916d71a6f97045a5028a9bcf88f9b39d17 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0176a4c98176dc86075be5fdf6a4ab916d71a6f97045a5028a9bcf88f9b39d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0176a4c98176dc86075be5fdf6a4ab916d71a6f97045a5028a9bcf88f9b39d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0176a4c98176dc86075be5fdf6a4ab916d71a6f97045a5028a9bcf88f9b39d17", kill_on_drop: false }` [INFO] [stdout] 0176a4c98176dc86075be5fdf6a4ab916d71a6f97045a5028a9bcf88f9b39d17 [INFO] running `Command { std: "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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c636144010ee10813c681d90ad805f810afb0c50b740cf827c248ece104f115 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c636144010ee10813c681d90ad805f810afb0c50b740cf827c248ece104f115", kill_on_drop: false }` [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 semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking enum-set v0.0.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [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 v0.2.1 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking project_euler v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `shared::digits` [INFO] [stdout] --> src/bin/43.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use shared::digits; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `digits` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::sieve` [INFO] [stdout] --> src/bin/69.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use shared::sieve; [INFO] [stdout] | ^^^^^^^^^^^^^ no `sieve` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::primes` [INFO] [stdout] --> src/bin/41.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::primes; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `primes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::Permutations` [INFO] [stdout] --> src/bin/41.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use shared::Permutations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Permutations` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `shared::Permutations` [INFO] [stdout] --> src/bin/24.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use shared::Permutations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Permutations` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::sieve` [INFO] [stdout] --> src/bin/47-2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use shared::sieve; [INFO] [stdout] | ^^^^^^^^^^^^^ no `sieve` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::IntegerExtensions` [INFO] [stdout] --> src/bin/55.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use shared::IntegerExtensions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IntegerExtensions` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permutations` found for array `[{integer}; 10]` in the current scope [INFO] [stdout] --> src/bin/24.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let result = digits.permutations().skip(1_000_000 - 1).next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `[{integer}; 10]` [INFO] [stdout] | [INFO] [stdout] = note: the method `permutations` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[{integer}; 10]: std::iter::Iterator` [INFO] [stdout] which is required by `[{integer}; 10]: itertools::Itertools` [INFO] [stdout] `&[{integer}; 10]: std::iter::Iterator` [INFO] [stdout] which is required by `&[{integer}; 10]: itertools::Itertools` [INFO] [stdout] `&mut [{integer}; 10]: std::iter::Iterator` [INFO] [stdout] which is required by `&mut [{integer}; 10]: itertools::Itertools` [INFO] [stdout] `&[{integer}]: std::iter::Iterator` [INFO] [stdout] which is required by `&[{integer}]: itertools::Itertools` [INFO] [stdout] `&mut [{integer}]: std::iter::Iterator` [INFO] [stdout] which is required by `&mut [{integer}]: itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/24.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permutations` found for struct `std::vec::Vec` in the current scope [INFO] [stdout] --> src/bin/41.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | digit_slice.to_vec().permutations() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u32]` cannot be known at compilation time [INFO] [stdout] --> src/bin/41.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | let primes = permutations.filter_map(|permutation| { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u32]` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/bin/23.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reverse` found for mutable reference `&mut num::BigUint` in the current scope [INFO] [stdout] --> src/bin/55.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | let new_value = (&*current) + current.reverse(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut num::BigUint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_palindrome` found for reference `&num::BigUint` in the current scope [INFO] [stdout] --> src/bin/55.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | .find(|number| number.is_palindrome()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&num::BigUint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::digits` [INFO] [stdout] --> src/bin/74.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use shared::digits; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `digits` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7c636144010ee10813c681d90ad805f810afb0c50b740cf827c248ece104f115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c636144010ee10813c681d90ad805f810afb0c50b740cf827c248ece104f115", kill_on_drop: false }` [INFO] [stdout] 7c636144010ee10813c681d90ad805f810afb0c50b740cf827c248ece104f115