[INFO] cloning repository https://github.com/timigen/project_euler [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timigen/project_euler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimigen%2Fproject_euler"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimigen%2Fproject_euler'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 837170fe76aa87792d3ee96c8b52884921f98e01 [INFO] checking timigen/project_euler against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimigen%2Fproject_euler" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timigen/project_euler on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/timigen/project_euler [INFO] finished tweaking git repo https://github.com/timigen/project_euler [INFO] tweaked toml for git repo https://github.com/timigen/project_euler written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/timigen/project_euler already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] e4ebb228d5c49aa1bd84ef671bfa8a712601c1037db5f5a949e6286fbc232982 [INFO] running `"docker" "start" "-a" "e4ebb228d5c49aa1bd84ef671bfa8a712601c1037db5f5a949e6286fbc232982"` [INFO] [stderr] Checking project_euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `p2` [INFO] [stderr] --> src/bin/p2.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub fn solution() { [INFO] [stderr] 2 | | println!("\nproblem 2 _______________________________________"); [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | _loop(); [INFO] [stderr] ... | [INFO] [stderr] 26 | | println!("\n\twhile sum\t: {}", _sum); [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/p2.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [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[E0601]: `main` function not found in crate `p3` [INFO] [stderr] --> src/bin/p3.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub fn solution() { [INFO] [stderr] 2 | | println!("\nproblem 3 _______________________________________"); [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | _loop(); [INFO] [stderr] ... | [INFO] [stderr] 48 | | return true; [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/p3.rs` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `p1` [INFO] [stderr] --> src/bin/p1.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub fn solution() { [INFO] [stderr] 2 | | println!("\nproblem 1 _______________________________________"); [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | for_loop(); [INFO] [stderr] ... | [INFO] [stderr] 20 | | println!("\tfilter\t: {}", sum); [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/p1.rs` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/bin/p3.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let ceiling = (n as f64).sqrt() as u64 + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/bin/p3.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let ceiling = (n as f64).sqrt() as u64 + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0601, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0601`. [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/bin/p3.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let ceiling = (n as f64).sqrt() as u64 + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [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] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [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: 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: 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[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/bin/p3.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let ceiling = (n as f64).sqrt() as u64 + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [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: build failed [INFO] running `"docker" "inspect" "e4ebb228d5c49aa1bd84ef671bfa8a712601c1037db5f5a949e6286fbc232982"` [INFO] running `"docker" "rm" "-f" "e4ebb228d5c49aa1bd84ef671bfa8a712601c1037db5f5a949e6286fbc232982"` [INFO] [stdout] e4ebb228d5c49aa1bd84ef671bfa8a712601c1037db5f5a949e6286fbc232982