[INFO] cloning repository https://github.com/mccartykim/schmoo_torrent [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmccartykim%2Fschmoo_torrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08a04f9bb39fc0e4764dc1687035e49a893204c6 [INFO] testing mccartykim/schmoo_torrent against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmccartykim%2Fschmoo_torrent" "/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/mccartykim/schmoo_torrent on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 176e7421b142b0338afef85fabb1aaf7ee6245a7665dc86d56875058d8be929f [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" "176e7421b142b0338afef85fabb1aaf7ee6245a7665dc86d56875058d8be929f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "176e7421b142b0338afef85fabb1aaf7ee6245a7665dc86d56875058d8be929f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176e7421b142b0338afef85fabb1aaf7ee6245a7665dc86d56875058d8be929f", kill_on_drop: false }` [INFO] [stdout] 176e7421b142b0338afef85fabb1aaf7ee6245a7665dc86d56875058d8be929f [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca256a18892e7e25b9886cf70542f5195819544864694a31b6df08fb2d5667c2 [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" "ca256a18892e7e25b9886cf70542f5195819544864694a31b6df08fb2d5667c2", kill_on_drop: false }` [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling schmoo_torrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bencode::Bencode` [INFO] [stdout] --> src/main.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | use crate::bencode::Bencode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bencode::Bencode::*` [INFO] [stdout] --> src/main.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | use crate::bencode::Bencode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Raw_Bitfield` should have an upper camel case name [INFO] [stdout] --> src/main.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | struct Raw_Bitfield { bytes: Vec } [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RawBitfield` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitfield::Bitfield` [INFO] [stdout] --> src/main.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | use crate::bitfield::Bitfield; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `schmoo_torrent` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / mod bencode { [INFO] [stdout] 3 | | use std::collections::HashMap; [INFO] [stdout] 4 | | use std::fmt; [INFO] [stdout] 5 | | use crate::bencode::Bencode::*; [INFO] [stdout] ... | [INFO] [stdout] 450 | | } [INFO] [stdout] 451 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings 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 `schmoo_torrent` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ca256a18892e7e25b9886cf70542f5195819544864694a31b6df08fb2d5667c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca256a18892e7e25b9886cf70542f5195819544864694a31b6df08fb2d5667c2", kill_on_drop: false }` [INFO] [stdout] ca256a18892e7e25b9886cf70542f5195819544864694a31b6df08fb2d5667c2