[INFO] updating cached repository https://github.com/rockisch/project-euler-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 8227422855997449f4277574d34d1e6c93a74d03
[INFO] checking rockisch/project-euler-rust against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frockisch%2Fproject-euler-rust" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rockisch/project-euler-rust on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/rockisch/project-euler-rust
[INFO] finished tweaking git repo https://github.com/rockisch/project-euler-rust
[INFO] tweaked toml for git repo https://github.com/rockisch/project-euler-rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/rockisch/project-euler-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 295b0f91b0581c98d946ee1451244ef5c3d1d2eb4961ae648a708f319a873893
[INFO] running `"docker" "start" "-a" "295b0f91b0581c98d946ee1451244ef5c3d1d2eb4961ae648a708f319a873893"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking rust-euler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0601]: `main` function not found in crate `rust_euler`
[INFO] [stderr]    --> src/main.rs:1:1
[INFO] [stderr]     |
[INFO] [stderr] 1   | / mod fib;
[INFO] [stderr] 2   | |
[INFO] [stderr] 3   | | use fib::Fibonacci;
[INFO] [stderr] 4   | |
[INFO] [stderr] ...   |
[INFO] [stderr] 107 | |     }
[INFO] [stderr] 108 | | }
[INFO] [stderr]     | |_^ consider adding a `main` function to `src/main.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 `rust-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] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:58:17
[INFO] [stderr]    |
[INFO] [stderr] 58 |             let mut mut_i = i;
[INFO] [stderr]    |                 ----^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "295b0f91b0581c98d946ee1451244ef5c3d1d2eb4961ae648a708f319a873893"`
[INFO] running `"docker" "rm" "-f" "295b0f91b0581c98d946ee1451244ef5c3d1d2eb4961ae648a708f319a873893"`
[INFO] [stdout] 295b0f91b0581c98d946ee1451244ef5c3d1d2eb4961ae648a708f319a873893
