[INFO] updating cached repository https://github.com/Mathspy/unsafe-now [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f94bdda5780c5049c136d39e10139efbdbdde88 [INFO] testing Mathspy/unsafe-now against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Funsafe-now" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathspy/unsafe-now on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mathspy/unsafe-now [INFO] finished tweaking git repo https://github.com/Mathspy/unsafe-now [INFO] tweaked toml for git repo https://github.com/Mathspy/unsafe-now written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Mathspy/unsafe-now already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee52d55b061531eaaf971ca6c48f59ab86ccc6eaf9e6d937939ff9576c2f989f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee52d55b061531eaaf971ca6c48f59ab86ccc6eaf9e6d937939ff9576c2f989f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee52d55b061531eaaf971ca6c48f59ab86ccc6eaf9e6d937939ff9576c2f989f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee52d55b061531eaaf971ca6c48f59ab86ccc6eaf9e6d937939ff9576c2f989f", kill_on_drop: false }` [INFO] [stdout] ee52d55b061531eaaf971ca6c48f59ab86ccc6eaf9e6d937939ff9576c2f989f [INFO] running `Command { std: "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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de97c8dba65e8e1631f91530a0b656c992f55406b5909f191e66b9d377eb66e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0de97c8dba65e8e1631f91530a0b656c992f55406b5909f191e66b9d377eb66e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling libgit2-sys v0.8.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling geiger v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling git2 v0.9.1 [INFO] [stderr] Compiling unsafe-now v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `index` [INFO] [stdout] --> index.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use geiger::{find_unsafe_in_file, Count, CounterBlock, IncludeTests, ScanFileError}; [INFO] [stdout] 2 | | use git2::Repository; [INFO] [stdout] 3 | | use http::{header, Request, Response, StatusCode}; [INFO] [stdout] 4 | | use serde::Serialize; [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `index.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] [stderr] error: could not compile `unsafe-now`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0de97c8dba65e8e1631f91530a0b656c992f55406b5909f191e66b9d377eb66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de97c8dba65e8e1631f91530a0b656c992f55406b5909f191e66b9d377eb66e", kill_on_drop: false }` [INFO] [stdout] 0de97c8dba65e8e1631f91530a0b656c992f55406b5909f191e66b9d377eb66e