[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] checking nordsieck/euler-rust against master#18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb for pr-96970 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordsieck%2Feuler-rust" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nordsieck/euler-rust on toolchain 18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-76/source/Cargo.toml [INFO] crate git repo https://github.com/nordsieck/euler-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-76/source/src/0001.rs` was erroneously implicitly accepted for binary `0001`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/workspace/builds/worker-76/source/src/0002.rs` was erroneously implicitly accepted for binary `0002`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/workspace/builds/worker-76/source/src/0003.rs` was erroneously implicitly accepted for binary `0003`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/workspace/builds/worker-76/source/src/0004.rs` was erroneously implicitly accepted for binary `0004`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/workspace/builds/worker-76/source/src/0005.rs` was erroneously implicitly accepted for binary `0005`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/workspace/builds/worker-76/source/src/0006.rs` was erroneously implicitly accepted for binary `0006`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d155d7854893079da804eb67254a485e56de3b8649e7befe7a0e2478ca084164 [INFO] running `Command { std: "docker" "start" "-a" "d155d7854893079da804eb67254a485e56de3b8649e7befe7a0e2478ca084164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d155d7854893079da804eb67254a485e56de3b8649e7befe7a0e2478ca084164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d155d7854893079da804eb67254a485e56de3b8649e7befe7a0e2478ca084164", kill_on_drop: false }` [INFO] [stdout] d155d7854893079da804eb67254a485e56de3b8649e7befe7a0e2478ca084164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c087bcb7f9dcf48901b96f33417d1553f8ed9cfb6d6aacc21220538282c8bd29 [INFO] running `Command { std: "docker" "start" "-a" "c087bcb7f9dcf48901b96f33417d1553f8ed9cfb6d6aacc21220538282c8bd29", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/0001.rs` was erroneously implicitly accepted for binary `0001`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/0002.rs` was erroneously implicitly accepted for binary `0002`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/0003.rs` was erroneously implicitly accepted for binary `0003`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/0004.rs` was erroneously implicitly accepted for binary `0004`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/0005.rs` was erroneously implicitly accepted for binary `0005`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/0006.rs` was erroneously implicitly accepted for binary `0006`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking euler-rust v0.0.1 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `euler-rust` due to 2 previous errors [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)]` 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` due to 2 previous errors [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` due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` due to 2 previous errors [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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [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)]` 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: aborting due to previous error; 1 warning emitted [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 `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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [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] 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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler-rust` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c087bcb7f9dcf48901b96f33417d1553f8ed9cfb6d6aacc21220538282c8bd29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c087bcb7f9dcf48901b96f33417d1553f8ed9cfb6d6aacc21220538282c8bd29", kill_on_drop: false }` [INFO] [stdout] c087bcb7f9dcf48901b96f33417d1553f8ed9cfb6d6aacc21220538282c8bd29