[INFO] updating cached repository https://github.com/joelverhagen/euler [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] c480377a8b30f8f719edebdc6ff96e69b47d4638 [INFO] testing joelverhagen/euler against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelverhagen%2Feuler" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelverhagen/euler on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/joelverhagen/euler [INFO] finished tweaking git repo https://github.com/joelverhagen/euler [INFO] tweaked toml for git repo https://github.com/joelverhagen/euler written to work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/joelverhagen/euler already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "build" "--frozen"` [INFO] [stdout] cf6d48183496c9306263c56c8c9336f9ec953ac871b0a94778b59a4089540f33 [INFO] running `"docker" "start" "-a" "cf6d48183496c9306263c56c8c9336f9ec953ac871b0a94778b59a4089540f33"` [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling projecteuler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/problems/problem17.rs:63:6 [INFO] [stderr] | [INFO] [stderr] 63 | (2 ... 9, 0) => match ten_to_word(t) { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/problems/problem17.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | (2 ... 9, _) => match (ten_to_word(t), digit_to_word(u)) { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: private type `support::digits::IntegerDigits` in public interface (error E0446) [INFO] [stderr] --> src/support/digits.rs:28:2 [INFO] [stderr] | [INFO] [stderr] 28 | fn iter_digits(&self) -> IntegerDigits; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` 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 #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `support::digits::IntegerDigits` in public interface (error E0446) [INFO] [stderr] --> src/support/digits.rs:32:2 [INFO] [stderr] | [INFO] [stderr] 32 | fn iter_digits(&self) -> IntegerDigits { [INFO] [stderr] | _____^ [INFO] [stderr] 33 | | IntegerDigits { remaining: self.clone() } [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [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 #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `support::graph::model::Successors<'_, N, E>` in public interface (error E0446) [INFO] [stderr] --> src/support/graph/model.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | / pub fn successors(&self, source: NodeIndex) -> Successors { [INFO] [stderr] 67 | | let first_outgoing_edge = self.nodes[source].first_outgoing_edge; [INFO] [stderr] 68 | | Successors { graph: self, current_edge_index: first_outgoing_edge } [INFO] [stderr] 69 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [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 #34537 [INFO] [stderr] [INFO] [stderr] error: type `support::graph::model::Successors<'_, N, E>` is private [INFO] [stderr] --> src/support/graph/search.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | for successor in graph.successors(node_index) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: type `support::graph::model::Successors<'_, N, i32>` is private [INFO] [stderr] --> src/support/graph/search.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | for s in graph.successors(u) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: type `support::digits::IntegerDigits` is private [INFO] [stderr] --> src/problems/problem4.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | let digits: Vec = i.iter_digits().collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: type `support::digits::IntegerDigits` is private [INFO] [stderr] --> src/problems/problem16.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 8 | pow(BigInt::from_u64(2).unwrap(), 1000) [INFO] [stderr] | _____^ [INFO] [stderr] 9 | | .iter_digits() [INFO] [stderr] 10 | | .map(|d| d as u64) [INFO] [stderr] 11 | | .fold(0, |s, v| s + v) [INFO] [stderr] | |______________________________^ [INFO] [stderr] [INFO] [stderr] error: type `support::digits::IntegerDigits` is private [INFO] [stderr] --> src/problems/problem17.rs:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | let mut digits: Vec = n.iter_digits().collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: type `support::digits::IntegerDigits` is private [INFO] [stderr] --> src/problems/problem20.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | factorial(100).iter_digits().map(|d| d as i32).fold(0, |s, v| s + v) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: type `support::digits::IntegerDigits` is private [INFO] [stderr] --> src/problems/problem30.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | if new_max.iter_digits().count() < digits { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: type `support::digits::IntegerDigits` is private [INFO] [stderr] --> src/problems/problem30.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let maybe_i = i.iter_digits().fold(0, |s, d| s + pow(d as u64, p)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `projecteuler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cf6d48183496c9306263c56c8c9336f9ec953ac871b0a94778b59a4089540f33"` [INFO] running `"docker" "rm" "-f" "cf6d48183496c9306263c56c8c9336f9ec953ac871b0a94778b59a4089540f33"` [INFO] [stdout] cf6d48183496c9306263c56c8c9336f9ec953ac871b0a94778b59a4089540f33