[INFO] cloning repository https://github.com/jrheard/rustbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jrheard/rustbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrheard%2Frustbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrheard%2Frustbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 751299e1df274231b14a0687fbe79103b6090fcc [INFO] testing jrheard/rustbook against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrheard%2Frustbook" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jrheard/rustbook on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jrheard/rustbook [INFO] finished tweaking git repo https://github.com/jrheard/rustbook [INFO] tweaked toml for git repo https://github.com/jrheard/rustbook written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jrheard/rustbook already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c70c284a32dc87d40df5d3b179492e6feef07044de39cade590810649351427c [INFO] running `Command { std: "docker" "start" "-a" "c70c284a32dc87d40df5d3b179492e6feef07044de39cade590810649351427c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c70c284a32dc87d40df5d3b179492e6feef07044de39cade590810649351427c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c70c284a32dc87d40df5d3b179492e6feef07044de39cade590810649351427c", kill_on_drop: false }` [INFO] [stdout] c70c284a32dc87d40df5d3b179492e6feef07044de39cade590810649351427c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6b5e051d79c2392ee37250f612fae9291cebdc63cc136edde921863ebff1d87 [INFO] running `Command { std: "docker" "start" "-a" "f6b5e051d79c2392ee37250f612fae9291cebdc63cc136edde921863ebff1d87", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling chapter_8_exercises v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `assert_approx_eq::assert_approx_eq` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use assert_approx_eq::assert_approx_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `chapter_8_exercises` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / use std::collections::HashMap; [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | use assert_approx_eq::assert_approx_eq; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 176 | | [INFO] [stdout] 177 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [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] [stderr] error: could not compile `chapter_8_exercises` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f6b5e051d79c2392ee37250f612fae9291cebdc63cc136edde921863ebff1d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6b5e051d79c2392ee37250f612fae9291cebdc63cc136edde921863ebff1d87", kill_on_drop: false }` [INFO] [stdout] f6b5e051d79c2392ee37250f612fae9291cebdc63cc136edde921863ebff1d87