[INFO] cloning repository https://github.com/nordsieck/euler-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nordsieck/euler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordsieck%2Feuler-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordsieck%2Feuler-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a917ec38ad4ac648ce7135edb26f7efd1159bdb [INFO] building nordsieck/euler-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordsieck%2Feuler-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nordsieck/euler-rust [INFO] finished tweaking git repo https://github.com/nordsieck/euler-rust [INFO] tweaked toml for git repo https://github.com/nordsieck/euler-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nordsieck/euler-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nordsieck/euler-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `src/0001.rs` was erroneously implicitly accepted for binary `0001`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0002.rs` was erroneously implicitly accepted for binary `0002`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0003.rs` was erroneously implicitly accepted for binary `0003`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0004.rs` was erroneously implicitly accepted for binary `0004`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0005.rs` was erroneously implicitly accepted for binary `0005`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0006.rs` was erroneously implicitly accepted for binary `0006`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `[project]` is deprecated in favor of `[package]` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6896c31802fdc5f80e778d5946705f45ccd4154fd27582c295bb26c6508ecbb3 [INFO] running `Command { std: "docker" "start" "-a" "6896c31802fdc5f80e778d5946705f45ccd4154fd27582c295bb26c6508ecbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6896c31802fdc5f80e778d5946705f45ccd4154fd27582c295bb26c6508ecbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6896c31802fdc5f80e778d5946705f45ccd4154fd27582c295bb26c6508ecbb3", kill_on_drop: false }` [INFO] [stdout] 6896c31802fdc5f80e778d5946705f45ccd4154fd27582c295bb26c6508ecbb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20912e8bc1fbf56b479ab1818021798c5c8c2dcf45e461f89e80e59ad52be64b [INFO] running `Command { std: "docker" "start" "-a" "20912e8bc1fbf56b479ab1818021798c5c8c2dcf45e461f89e80e59ad52be64b", kill_on_drop: false }` [INFO] [stderr] warning: path `src/0001.rs` was erroneously implicitly accepted for binary `0001`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0002.rs` was erroneously implicitly accepted for binary `0002`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0003.rs` was erroneously implicitly accepted for binary `0003`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0004.rs` was erroneously implicitly accepted for binary `0004`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0005.rs` was erroneously implicitly accepted for binary `0005`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `src/0006.rs` was erroneously implicitly accepted for binary `0006`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `[project]` is deprecated in favor of `[package]` [INFO] [stderr] Compiling euler-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `0005` [INFO] [stdout] --> src/0005.rs:86:2 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/0005.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `0002` [INFO] [stdout] --> src/0002.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/0002.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` (bin "0005") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `0006` [INFO] [stdout] --> src/0006.rs:38:2 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/0006.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` (bin "0002") due to 1 previous error [INFO] [stderr] error: could not compile `euler-rust` (bin "0006") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `0003` [INFO] [stdout] --> src/0003.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/0003.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `0001` [INFO] [stdout] --> src/0001.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/0001.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` (bin "0001") due to 1 previous error [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/0004.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | fn row(i: usize) -> (usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - fn row(i: usize) -> (usize) { [INFO] [stdout] 14 + fn row(i: usize) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `0004` [INFO] [stdout] --> src/0004.rs:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/0004.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` (bin "0003") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` (bin "0004") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "20912e8bc1fbf56b479ab1818021798c5c8c2dcf45e461f89e80e59ad52be64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20912e8bc1fbf56b479ab1818021798c5c8c2dcf45e461f89e80e59ad52be64b", kill_on_drop: false }` [INFO] [stdout] 20912e8bc1fbf56b479ab1818021798c5c8c2dcf45e461f89e80e59ad52be64b