[INFO] cloning repository https://github.com/mccartykim/schmoo_torrent [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mccartykim/schmoo_torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmccartykim%2Fschmoo_torrent"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmccartykim%2Fschmoo_torrent'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 08a04f9bb39fc0e4764dc1687035e49a893204c6 [INFO] testing mccartykim/schmoo_torrent against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmccartykim%2Fschmoo_torrent" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mccartykim/schmoo_torrent on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mccartykim/schmoo_torrent [INFO] finished tweaking git repo https://github.com/mccartykim/schmoo_torrent [INFO] tweaked toml for git repo https://github.com/mccartykim/schmoo_torrent written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mccartykim/schmoo_torrent already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 8a5c02b616022372c464f708d53a1f2b2cf9382d61f9d7e548592e4a39e940d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8a5c02b616022372c464f708d53a1f2b2cf9382d61f9d7e548592e4a39e940d1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling schmoo_torrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::bencode::Bencode` [INFO] [stderr] --> src/main.rs:179:13 [INFO] [stderr] | [INFO] [stderr] 179 | use crate::bencode::Bencode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::bencode::Bencode::*` [INFO] [stderr] --> src/main.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | use crate::bencode::Bencode::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Raw_Bitfield` should have an upper camel case name [INFO] [stderr] --> src/main.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 331 | struct Raw_Bitfield { bytes: Vec } [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RawBitfield` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::bitfield::Bitfield` [INFO] [stderr] --> src/main.rs:412:13 [INFO] [stderr] | [INFO] [stderr] 412 | use crate::bitfield::Bitfield; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `schmoo_torrent` [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | / mod bencode { [INFO] [stderr] 3 | | use std::collections::HashMap; [INFO] [stderr] 4 | | use std::fmt; [INFO] [stderr] 5 | | use crate::bencode::Bencode::*; [INFO] [stderr] ... | [INFO] [stderr] 450 | | } [INFO] [stderr] 451 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `schmoo_torrent`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8a5c02b616022372c464f708d53a1f2b2cf9382d61f9d7e548592e4a39e940d1"` [INFO] running `"docker" "rm" "-f" "8a5c02b616022372c464f708d53a1f2b2cf9382d61f9d7e548592e4a39e940d1"` [INFO] [stdout] 8a5c02b616022372c464f708d53a1f2b2cf9382d61f9d7e548592e4a39e940d1