[INFO] cloning repository https://github.com/ekarbe/rust-algorithms [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ekarbe/rust-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekarbe%2Frust-algorithms"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekarbe%2Frust-algorithms'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 28bc0fad5114c363e9c58487dc43f2fe14b3fe30 [INFO] checking ekarbe/rust-algorithms against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekarbe%2Frust-algorithms" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ekarbe/rust-algorithms on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ekarbe/rust-algorithms [INFO] finished tweaking git repo https://github.com/ekarbe/rust-algorithms [INFO] tweaked toml for git repo https://github.com/ekarbe/rust-algorithms written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ekarbe/rust-algorithms already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 954d8c859e8368aa837d78ab8a30f2bb5a77122089299f74dbe69623052de9f6 [INFO] running `"docker" "start" "-a" "954d8c859e8368aa837d78ab8a30f2bb5a77122089299f74dbe69623052de9f6"` [INFO] [stderr] Checking rust-algorithms v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: function is never used: `sort` [INFO] [stderr] --> src/bubble_sort.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn sort(arr: &mut [i32]) -> &mut [i32] { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sort` [INFO] [stderr] --> src/cocktail_shaker_sort.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn sort(arr: &mut [i32]) -> &mut [i32] { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sort` [INFO] [stderr] --> src/insertion_sort.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn sort(arr: &mut [i32]) -> &mut [i32] { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index_of` [INFO] [stderr] --> src/linear_search.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn index_of(arr: &[i32], tar: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `max` [INFO] [stderr] --> src/selection_search.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn max(arr: &[i32]) -> i32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `min` [INFO] [stderr] --> src/selection_search.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn min(arr: &[i32]) -> i32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `"docker" "inspect" "954d8c859e8368aa837d78ab8a30f2bb5a77122089299f74dbe69623052de9f6"` [INFO] running `"docker" "rm" "-f" "954d8c859e8368aa837d78ab8a30f2bb5a77122089299f74dbe69623052de9f6"` [INFO] [stdout] 954d8c859e8368aa837d78ab8a30f2bb5a77122089299f74dbe69623052de9f6