[INFO] cloning repository https://github.com/Schaeff/sparse-merkle [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Schaeff/sparse-merkle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSchaeff%2Fsparse-merkle"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSchaeff%2Fsparse-merkle'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 13212aa9643dfa14bc4bfdd7ac5b5debd949bf1d [INFO] checking Schaeff/sparse-merkle against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSchaeff%2Fsparse-merkle" "/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/Schaeff/sparse-merkle on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Schaeff/sparse-merkle [INFO] finished tweaking git repo https://github.com/Schaeff/sparse-merkle [INFO] tweaked toml for git repo https://github.com/Schaeff/sparse-merkle written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Schaeff/sparse-merkle already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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] 97d04107cdce8014ec9a14f6a53411defc5172de1a852b108102a2cfe9ce624b [INFO] running `"docker" "start" "-a" "97d04107cdce8014ec9a14f6a53411defc5172de1a852b108102a2cfe9ce624b"` [INFO] [stderr] Checking sparse_merkle v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `sparse_merkle` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / type Value = usize; [INFO] [stderr] 2 | | type Hash = usize; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | fn hash(left: Hash, right: Hash) -> Hash { [INFO] [stderr] ... | [INFO] [stderr] 288 | | println!("After insert of all the leaves: {:#?}", tree); [INFO] [stderr] 289 | | } [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 `sparse_merkle`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: method is never used: `check_depth` [INFO] [stderr] --> src/main.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | fn check_depth(&self, max: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `with_root_and_depth` [INFO] [stderr] --> src/main.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | fn with_root_and_depth(root: Node, depth: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `insert_at_0` [INFO] [stderr] --> src/main.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | fn insert_at_0(self, v: Value) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "97d04107cdce8014ec9a14f6a53411defc5172de1a852b108102a2cfe9ce624b"` [INFO] running `"docker" "rm" "-f" "97d04107cdce8014ec9a14f6a53411defc5172de1a852b108102a2cfe9ce624b"` [INFO] [stdout] 97d04107cdce8014ec9a14f6a53411defc5172de1a852b108102a2cfe9ce624b