[INFO] updating cached repository renato-zannon/rust-project_euler [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/renato-zannon/rust-project_euler [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/renato-zannon/rust-project_euler" "work/ex/pr-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/gh/renato-zannon/rust-project_euler"` [INFO] [stderr] Cloning into 'work/ex/pr-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/gh/renato-zannon/rust-project_euler'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/renato-zannon/rust-project_euler" "work/ex/pr-60932/sources/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7/gh/renato-zannon/rust-project_euler"` [INFO] [stderr] Cloning into 'work/ex/pr-60932/sources/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7/gh/renato-zannon/rust-project_euler'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cefb74cb48a5cdc8d53cc4f0ebd9987654c87105 [INFO] sha for GitHub repo renato-zannon/rust-project_euler: cefb74cb48a5cdc8d53cc4f0ebd9987654c87105 [INFO] validating manifest of renato-zannon/rust-project_euler on toolchain master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of renato-zannon/rust-project_euler on toolchain try#097e26225c5cc28d3042ad4c80eac7c488f78ee7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing renato-zannon/rust-project_euler [INFO] removed workspace from renato-zannon/rust-project_euler [INFO] removed path dependency shared from renato-zannon/rust-project_euler [INFO] finished frobbing renato-zannon/rust-project_euler [INFO] frobbed toml for renato-zannon/rust-project_euler written to work/ex/pr-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/gh/renato-zannon/rust-project_euler/Cargo.toml [INFO] started frobbing renato-zannon/rust-project_euler [INFO] removed workspace from renato-zannon/rust-project_euler [INFO] removed path dependency shared from renato-zannon/rust-project_euler [INFO] finished frobbing renato-zannon/rust-project_euler [INFO] frobbed toml for renato-zannon/rust-project_euler written to work/ex/pr-60932/sources/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7/gh/renato-zannon/rust-project_euler/Cargo.toml [INFO] crate renato-zannon/rust-project_euler already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/gh/renato-zannon/rust-project_euler/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking renato-zannon/rust-project_euler against try#097e26225c5cc28d3042ad4c80eac7c488f78ee7 for pr-60932 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60932/worker-6/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60932/sources/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7/gh/renato-zannon/rust-project_euler:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] caa74859903ede4e19b5117cdcf5a220c30e7514d0d9623b84771193defd67d7 [INFO] running `"docker" "start" "-a" "caa74859903ede4e19b5117cdcf5a220c30e7514d0d9623b84771193defd67d7"` [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.0 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking enum-set v0.0.7 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking as-slice v0.1.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Checking shared v0.1.2 [INFO] [stderr] Checking project_euler v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `shared::digits` [INFO] [stderr] --> src/bin/52.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use shared::digits; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `digits` in the root [INFO] [stderr] error[E0432]: unresolved import `shared::digits` [INFO] [stderr] --> src/bin/74.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use shared::digits; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `digits` in the root [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::primes` [INFO] [stderr] --> src/bin/41.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | 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:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use shared::Permutations; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Permutations` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `shared::digits` [INFO] [stderr] --> src/bin/32.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | 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:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use shared::pandigital::{is_9_pandigital, PandigitalResult}; [INFO] [stderr] | ^^^^^^^^^^ could not find `pandigital` in `shared` [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::sieve` [INFO] [stderr] --> src/bin/47-2.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use shared::sieve; [INFO] [stderr] | ^^^^^^^^^^^^^ no `sieve` 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/41.rs:17:30 [INFO] [stderr] | [INFO] [stderr] 17 | digit_slice.to_vec().permutations() [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u32]` cannot be known at compilation time [INFO] [stderr] --> src/bin/41.rs:20:43 [INFO] [stderr] | [INFO] [stderr] 20 | 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] 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[E0432]: unresolved import `shared::sieve` [INFO] [stderr] --> src/bin/47.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use shared::sieve; [INFO] [stderr] | ^^^^^^^^^^^^^ no `sieve` 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[E0432]: unresolved import `shared::data_reader` [INFO] [stderr] --> src/bin/42.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use shared::data_reader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `data_reader` in the root [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/bin/59.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | .map(|num| num.trim_right_matches('\n').parse().unwrap()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/bin/42.rs:22:33 [INFO] [stderr] | [INFO] [stderr] 22 | let result = reader.filter(|word| is_triangular_word(&word)).count(); [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 `str` [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] 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::IntegerExtensions` [INFO] [stderr] --> src/bin/55.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use shared::IntegerExtensions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IntegerExtensions` 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: 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: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432. [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: 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[E0599]: no method named `reverse` found for type `&mut num::BigUint` in the current scope [INFO] [stderr] --> src/bin/55.rs:49:51 [INFO] [stderr] | [INFO] [stderr] 49 | let new_value = (&*current) + current.reverse(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_palindrome` found for type `&num::BigUint` in the current scope [INFO] [stderr] --> src/bin/55.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | .find(|number| number.is_palindrome()); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 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: build failed [INFO] running `"docker" "inspect" "caa74859903ede4e19b5117cdcf5a220c30e7514d0d9623b84771193defd67d7"` [INFO] running `"docker" "rm" "-f" "caa74859903ede4e19b5117cdcf5a220c30e7514d0d9623b84771193defd67d7"` [INFO] [stdout] caa74859903ede4e19b5117cdcf5a220c30e7514d0d9623b84771193defd67d7